Check the HttpServletRequest API, there's a 
getSession(boolean) method that'll get u a new session 
Or an existing session based on true or false parameter. 

Make sure you use the right one in the login process.


hth
-jayash

-----Original Message-----
From: Vinay Kumar Munikuntla [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 8:59 AM
To: [EMAIL PROTECTED]
Subject: Plzzz help problem with session invalidate method ...


Hi

I don;t know if this is the right place to ask this quesion .. ?

After  I invalidate a session using request.getSession().invalidate() I
forward the Login screen to the user.
When the user logs into the application I see that he has the same Session
Id as before the session was invalidated.

But this does not happen if the Browser window is closed and the new browser
window is opened.

How can I get a new session id each time the user logs in?

Vinay Kumar Munikuntla
[EMAIL PROTECTED]


-----------------------------------------
This email, including any attachments, is for the designated recipient(s)
only and may contain confidential, proprietary, and/or legally privileged
information.  If you are not a designated recipient, or have received it in
error, please notify the sender and destroy it and all attachments and
copies immediately, without distributing, disclosing, or using it in any
manner.


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