Thanks all. I submitted a JIRA - https://issues.apache.org/jira/browse/WICKET-953 session.invalidateNow() does not remove the session from disk. invalidate() does though.
Matej Knopp-2 wrote: > > Sure it should. And breefly looking at the code it looks like it does. > But if it's not the case please file a jira issue for it. Thanks. > > -Matej > > On 9/9/07, Chris Lintz <[EMAIL PROTECTED]> wrote: >> >> 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] >> >> > > --------------------------------------------------------------------- > 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#a12606296 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]