I do agree that pickling to disk on restart is nice for development and in a lot of other situations as well but I guess I just like "choice" :-)
Thanks for listening to my rant.
Cheers,
Mike
On Tuesday, December 3, 2002, at 11:30 AM, Geoffrey Talvola wrote:
I wouldn't be opposed to adding an option to Application.config that
prevents pickling of session data to disk (which would of course only make
sense if used with the Memory store).
But the ability to restart the appserver without losing session data is
really nice, especially during development. So I'd recommend instead
writing a wrapper class around your LDAP connection objects and making them
picklable by using __setstate__ and __getstate__ (I think that's what they
are called). Or use some other method that prevents you from having to
store the LDAP connection directly in the session object.
- Geoff
-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss