[Zope] FSSession trouble

Dieter Maurer dieter@handshake.de
Fri, 8 Jun 2001 20:27:41 +0200 (CEST)


Peter Bengtsson writes:
 > ... FSSession initialized twice ==> bindings lost ...
That's quite normal.

We use a small DTML Method for initialization: "initializeSession"

<dtml-unless SessionInitialized__>
  <dtml-call FSSession>
  <dtml-call "REQUEST.set('SessionInitialized__',1)">
</dtml-unless>


This way, we can call "initializeSession" whenever we think, we
may access session data without worring whether it has already been
done.



Dieter