[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Creating new sessionID in the browser after application
dzhao00
do-not-reply at jboss.com
Thu Jul 13 15:47:37 EDT 2006
Hi sundartri,
After you invalidate the session, also delete the cookie that is tracking the session. This way you will get a new sessionId when the next time you call request.getSession(true).
In my case, I'm using JBoss 4.0.3SP1 and the cookie name is JSESSIONID. use cookie.setMaxAge(0) will delete the cookie.
That should do the trick. Good Luck.
Dave.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957871#3957871
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957871
More information about the jboss-user
mailing list