How to clear session attributes after leaving my page/form in spring MVC? -


i using spring mvc.
on url http://temp.com/page1
, add session attributes on and/or post method.

now when on result page(after post) on url http://temp.com/page1result, i want user give functionality go back previous page using browser's button or button/link on second page retaining previous data.
so, i can not write sessionstatus.setcomplete() on second page's as clear data , user data not retained when using button.

ok no problem. when go other url http://temp.com/someotherpage, i sesson attributes there well , have no control on code page/url.

how can prevent session attributes being there ?


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -