Interesting. I was using session.invalidateNow() which did not remove it from disk. But session.invalidate() worked like a charm. Should session.invalidateNow() also remove the session from disk immediately?
thanks for your help Eelco Hillenius wrote: > >> Chris Lintz wrote: >> > >> > Hi, >> > When a user logouts of the site, i want to kill the session and have it >> be >> > removed from disk immediately. I have extended WebSession properly, >> but >> > no methods on the WebSession class seem to do the trick for me. >> > >> > Is there a way to to trigger the removal of the session cleanly from >> disk >> > via the SessionStore or some other approach? >> > >> >> I think this is done automatically when you call session.invalidate(). > > Yep, that should do the trick. > > Eelco > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-force-a-delete-%28from-disk%29-of-the-session-from-the-session-store--tf4404925.html#a12580502 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]