[Zope] Session data

David H bluepaul at earthlink.net
Sat Sep 9 19:17:22 EDT 2006


Anton Y. Yakovlev wrote:

> Hi!
>
> >From Script (Python) object:
>
> request.SESSION[ 'some_data' ] = some_data;
> raise 'Redirect', context.some_script.absolute_url();
>
> Why session object does not store data after redirect?
>
Hi Anton,

Google is bland on this, I don't use redirects.  But I remember(?) that 
redirects clear the request or is that just <form> vars?

In any case you could

return context.some_script(context,context.REQUEST)  insteasd of a 
redirect raise thing u do
instead to see if you retain the session.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060909/17532108/attachment.htm


More information about the Zope mailing list