Read the manual about Sessions (2_6 Edition) and be sure you are following the API for accessing them (see Transcience Interface in the API Appendix). Your code must be careful to maintain persistence. On Thu, 2 Sep 2004, Asad Habib wrote:
I have a variable which I have placed in the SESSION attribute of the REQUEST object. This variable is being initialized to a value of None by a DTML method. If an error occurs after a form is submitted, the value of this variable is set to the type of error that occurs. In the event that an error does occur, the user is redirected to an error page. From the error page, the user has the opportunity to return to the form via a hyperlink. I need to use the value of this variable in this form but it exists sometimes and other times it doesn't. The suprising part is that it always exists on the error page. Simply by clicking on the link on the error page, the value of this variable is sometimes lost. I am using Safari as my browser. Has anyone else experienced the same problem? Any help would be greatly appreciated. Thanks.
- Asad _______________________________________________ Zope maillist - Zope@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 )