Tuesday 15 January 2013

java - JSESSIONID is delete when browser quit -



java - JSESSIONID is delete when browser quit -

i using sessionaware of struts2 creating session. when create session jsessionid added in cookies. when quit browser jsessionid delete. after quiting browser, when 1 time again open application, shows user not login.

how can in struts2 jsessionid should not deleted when browser closed.

that how session work. if want secure application login feature, shouldn't allow user access application easy open browser. how if forget log out.

however, if still still want store in browser, utilize normal cookie , set expiry time.

java java-ee struts2

No comments:

Post a Comment