[Zope] Session Management
Timothy Grant
tjg@avalongroup.net
Thu, 30 Dec 1999 13:07:54 -0800
Hi,
I guess I don't understand session management, and need some help.
I'm using the FSSession tool and have things configured like this:
Root/
SubFolder1
SubFolder2
SubFolder3
FSSession
index_html
index_html initializes the FSSession object. The docs say I should just
put it in my standard_html_header, but if it gets rexecuted I get an
error message, so I put it in index_html using the following:
<dtml-unless "_.has_key('FSSession')">
<dtml-call FSSession>
</dtml-unless>
This appears to work very nicely, as I make extensive use of it in
SubFolder1. However, I found a need to display a form in SubFolder2 from
SubFolder1 and use a session key that was set in SubFolder1. It didn't
work, I couldn't figure out why until I printed the FSSession object
while using the SubFolder2 form. It was empty.
I guess I don't understand this, the FSSession object is in the root
folder, it is initialized in my index_html in the root folder, why
doesn't SubFolder2 inherit the FSSession from the root?
Any enlightenment would be greatly appreciated.
--
Stand Fast,
tjg.
Chief Technology Officer tjg@exceptionalminds.com
Red Hat Certified Engineer www.exceptionalminds.com
Avalon Technology Group, Inc. (503) 246-3630
>>>>>>>>>>>>EXCEPTIONAL MINDS, INNOVATIVE PRODUCTS<<<<<<<<<<<<