Warning: Page has Expired in Jsp page after clicking back button.
posted 9 years ago
hi i have a back button problem in application.
Actually, i know, this is a IE's behaviour for post type request and i resolved this error for most of the places where my request get submited through form submit. but still i am facing a problem in some of places where i am using hyper link for forwarding a request from one jsp page to another jsp page. now after i forward this if i press back it will give me this error.
can anybody help me for this.how can i remove this?
In terms of other alternative if anybody have idea that we can invalidate session on back button click event.that is also a good alternative.because i don't want user to go back through back button.
through above code i successfully remove error in request which is getting submitted. but still i am facing a problem in request which is not submit a form but rather just forwarding to the another page and from that page if i am pressing back it invoke "Warning: Page has Expired".