[Zope] Re: Invalidating a session, creating a new
Chris McDonough
chrism at plope.com
Tue Nov 23 16:45:07 EST 2004
On Tue, 2004-11-23 at 16:36, Tres Seaver wrote:
> > In the meantime, a workaround is to not use REQUEST.SESSION to get the
> > session data, but to instead use something like
> > "context.session_data_manager.getSessionData()" to get the session data
> > associated with the current request.
>
> Wouldn't an adequate workaround be just to clear the session (rather
> than destroying it and creating one anew)? E.g.:
>
> session = REQUEST.SESSION
> session.clear()
> session['key'] = value
Yup, that'd be fine as well.
- C
More information about the Zope
mailing list