At 02:15 PM 12/11/01 -0500, Martin Doudoroff wrote:
>2) [0.6.1b1] It appears to me that the 'SessionStore' parameter in
>Application.config is being ignored when you use webkit.cgi or wkcgi.exe
>(under Windows): the app server always operates as "Dynamic" or "File" (hard
>to tell the difference). If you set 'SessionStore' to "Memory", it still
>saves session files to disk when you shut down the app server. It seems to
>me that closing the service with "Memory" session management, should wipe
>out the sessions. Has anybody else noticed this behavior? (OneShot does NOT
>seem to have this problem.)

It could be considered either a problem or a feature, depending on your 
viewpoint :-)

For efficiency reasons, you might want all session data to be stored in 
memory while the appserver is running.  But you still want the ability to 
stop and restart the appserver without losing your session data, so it 
makes sense to save the sessions to disk on shutdown and load them on 
startup.  This is what the Memory store does.

If you like my interpretation, then it follows that it's OneShot that has 
the problem -- it should also be loading and saving the sessions.

Or perhaps the load/save behavior should be configurable -- that way you 
get to choose whether restarting the appserver preserves sessions or wipes 
them out.


--

- Geoff Talvola
   [EMAIL PROTECTED]

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to