Connecting Tech Pros Worldwide Forums | Help | Site Map

IE warning "Page has expired"

Newbie
 
Join Date: Nov 2008
Posts: 4
#1: Jan 2 '09
Hi all,
I am getting a problem of Page expiration in IE .I have searched a lot on web.I got many results but not able to resolve my problem.

I have a a form where i will write a article.I will specify its contents and title ans category and subcategory.By clicking on upload button i go to the page (page2.php) where i can upload the images for articles.I have a return button on click of which i come to previous page (page1.php)

On this page i have save button and cancel button.Clicking on save i go to the page (page3.php) from which i came to this page.Now when i click browser back button it must go to the page1.php.But its showing warning :"Page has expired".

What is that thing its not getting on browser back button click?But getting on refreshing the page?I have used POST method in Form.

What can be the solution for this?

Newbie
 
Join Date: Jan 2008
Posts: 15
#2: Jan 3 '09

re: IE warning "Page has expired"


The problem is that when you submit the form (using POST) IE wont let you view that page again because it doesn't want to submit the data again.

This is kind of a good idea, because if you've submitted a form with your credit card details to buy something then you wouldn't want to submit it again when using your back button cos you'd end up buying it twice.

Firefox will ask you if you want to submit it again. But a lot of people still use IE (and should therefore be shot). So I reckon the best solution is to have the script that processes the submitted form redirect the user to another page. That way, when the user uses their back button they will go back to the page they were redirected to, and there'll be no danger of submitting the form twice.
Reply