Hi,

request.getSession(false) retrieves a session only if it already exists
request.getSession(true) creates a new session if there is no old one 
otherwise the existing one is returned.
I don't see a possiblity to have multiple sessions at the same time.

Best wishes,
Ingo

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 29. August 2006 13:55
An: Struts Users Mailing List
Betreff: Creating new Session without invalidating the old one



Hello!

Is it possible to create a new session for an already logged in person (which 
has an actual session) without invalidating the existing session? It's 
necessary for me to have the old session before creating an additional one, 
because I have to get few datas from the old session for the new one.

request.getSession(true) gives a new session, but only if the user doesn't have 
an existing session.


Any hints?
Kind regards,
Andreas Hartmann


---------------------------------------------------------------------
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]

Reply via email to