As you can see, I've read it, conclude it and write here, if I didn't I'll still have a problem, isn't it ?!
I have asked in which cases this method should be used ? -- Milan newton.dave wrote: > > --- On Thu, 7/31/08, Milan Milanovic wrote: >> ((org.apache.struts2.dispatcher.SessionMap)session ).invalidate(); >> [...] >> Is this possible to erase session ? > > You're asking if session.invalidate() will erase the session? Really? > > Here's the thought process I'd use to figure that out, step-by-step. > > Step 1: Read the Javadoc. > > That's all the steps, because the Javadocs say the following: > > "Invalidates this session then unbinds any objects bound to it." > > So I'm guessing that yes, calling session.invalidate() could actually > invalidate the session. > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18774795.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]