Hello, I have a question regarding invalidating or finishing a session using
HttpSession ...

I have a servlet using

        HttpSession session = request.getSession(true);

This servlet is called several times and everything works Ok.

When a user selects 'logout' I am running

                session.invalidate();

If the user close the browser session and begins a new browser session and
run the servlet, a new session is created and everything also works Ok.

But if, for any reason, the user logout and then login again using the same
browser session, it looks like the servlet is not creating a new session,
but using the old one.

What I am doing wrong?

Thanks,

Benjamin

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to