Changes for page Development-Persistent Sessions
Last modified by Pascal Robert on 2012/08/12 04:33
From version 5.1
edited by Pascal Robert
on 2012/08/12 04:32
on 2012/08/12 04:32
Change comment:
There is no comment for this version
To version 4.1
edited by Pascal Robert
on 2010/09/19 10:23
on 2010/09/19 10:23
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,1 +1,6 @@ 1 -Project Wonder now have a framework, ERPersistentStorage, that can help for persistent sessions. See the [[presentation\>>http://www.slideshare.net/wocommunity/persistent-sessionstorage]] that Ramsey Gurley made at WOWODC 2012. 1 +Related question: Does anyone have a good example for how to save an expired session to database, and recreate it after it expires? 2 + 3 +Nope, but perhaps take you could look at /Developer/Examples/JavaWebObjects/PersistentSessionStore. 4 + 5 +From the readme file: 6 +The PersistentSessionStore application demonstrates one possible alternative session store object - WXPersistentSessionStore. In WebObjects, the session store is the object that handles the storage of your session state between requests. The default session store is the ServerSessionStore, but that only stores the session while the app is running and cannot deal with interruptions in service and consumes virtual memory. The persistent session store solves these problems by putting the session on disk as a backup in the event the app dies or the in-memory session times out.