[Zope] Session data
Chris McDonough
chrism at plope.com
Sat Sep 9 19:53:46 EDT 2006
You raised an exception. Exceptions cause the current transaction to
abort, which causes the changes you've made to the session to be
thrown out.
Use request.RESPONSE.redirect(context.some_script.absolute_url())
instead.
- C
On Sep 9, 2006, at 6:26 PM, 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?
>
> -- Regards, Anton Yakovlev
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list