java - How to create forcibly new http session -


this question has answer here:

i doing session sharing between 2 web app(app1 , app2).in app2 once user validate want forcibly create new session in app2.i able session.invalidate() , request.getsession(true); here after doing session.invalidate() app1 session getting expire. pls me.

try:

request.getsession().invalidate(); request.getsession(true); 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -