[Zope] Re: FSSession newbie problem
Hung Jung Lu
hungjunglu@hotmail.com
Fri, 09 Jun 2000 08:04:34 PDT
>From: Pavlos Christoforou <pavlos@gaaros.com>
>On Fri, 9 Jun 2000, Marcello Lupo wrote:
> > 1) Is necessary to call FSSession in every document of the site Yes it
>is neccessary beacuse HTTP is stateless. It will only start a new
>session if FSSession cannot find a valid UID either through a cookie or a
>FORM or as part of te URL
Pavlos: this is the part that is confusing to newbies. FSSession can be made
in such a way that this initial call can be avoided. HappySession works that
way: no need for explicit initialization. Matter of fact, in the very first
call to the HappySession (any dictionary method), it does the initialization
itself behind the scene. FSSession can do the same thing.
It's a minor detail, but anything to make a newbie's life easier is worth
it. :)
regards,
Hung Jung
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com