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

html - Unable to style the color of bullets in a list -

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