This content has been marked as final. Show 3 replies
Where are you checking the cookie value? Do note that you won't see the change until the next request made where the 'new' cookie is first transmitted.
actually in the same request only when i check...it shows <b>maxage value=-1</b>....but the remaining the value are updated and properly display
Edited by: insipire on Aug 29, 2012 3:22 PM
Edited by: insipire on Aug 29, 2012 3:25 PM
A maxage of -1 indicates that its a browser cookie i.e. the cookie lasts as long as the browser which is usually the preferred approach for sessions. You have a bug somewhere in your code or the application server has some settings which kicks in when the response is sent.