Resending it for lack of response the last time around:
I have an interesting problem with session invalidation. I have a servlet
that if invoked with a
certain parameters, needs to dump the session it has, and create a new one.
For this purpose I invalidate the session using
request.getSession(true).invalidate() method when
the servlet notices those certain parameters. Soon after that in code, I
check for
request.isRequestedSessionIdValid() and it returns true!! After that I do
another
request.getSession(true) and the sessionId is still the same suggesting
that getSession
did not get me a new session.
Interestingly, on the next call to this servlet, the session id (from
getSession(true).getId()) is new.
Implying that somehow, during the same servlet instance, the session id
invalidation did
not take effect but on a new invocation it did.
Can someone explain what is going on? Is there something I am doing wrong?
I am using BEA
weblogic webserver which has a servlet environment built in.
Thanks in advance,
Girish Juneja
Sr MTS
GTE Labs
Waltham, MA
___________________________________________________________________________
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
___________________________________________________________________________
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