By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,890 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,890 IT Pros & Developers. It's quick & easy.

Web page has expired

100+
P: 114
Guys i want some help in the given topic. Well i downloaded a login script from http://www.evolt.org/ and i have been using this script for my site.

As i was working on with the script i got the "Web page expired" problem for which i searched the net and found out the solution as [HTML]ini_set('session.cache_limiter', 'private');[/HTML]. It get rid of the problem but when i log out from the admin control panel and click the back button, it still shows the admin panel which should not be. Infact when i was not using this solution, the script use to work fine which means if I logout and click the back button i could not enter the admin panel but it would show me the login screen. So what is the solution for my new problem. I wanna know is there any other ways by which i can get rid of the "Web page expired" issue and i dont wanna use the solution above which i have reffered to. Please advise me!

By the way i dont wanna use the GET method either as a solution.
Sep 16 '08 #1
Share this Question
Share on Google+
4 Replies


Markus
Expert 5K+
P: 6,050
You cannot control this (as far as I know) because when someone uses the back button on their browser, it shows them a cached version of that page. If the user then starts to navigate around that page, they should encounter an error because (I'm assuming) you've destroyed the session on their log out.

Kind regards.
Sep 16 '08 #2

100+
P: 114
Yes i have unset the session on log out. Well then, what is the standard procedure followed in this type of situation?

Ok i dont wanna use the " session.cache_limiter " because my scripts works better except the "Web page expired" error is there. Now do i have any other solutions apart from GET method and the cache_limiter. I am sure there is a procedure to overcome this issue.

If you could help me, i will give you a clear picture. I have page1 which has a form with months and year dropdown box from where i select a month and year and submit the form to page2 for processing. Page2 process the supplied value and generates only the records as per the supplied month and year. The records in page2 have corresponding hyperlinks to page3 which displays the records in more details. So it is how the pages works. Once i am in page3 and if i want to go back to page2 i get the above said error. Please suggest me with an appropiate advise and directions.
Sep 16 '08 #3

Markus
Expert 5K+
P: 6,050
Yes i have unset the session on log out. Well then, what is the standard procedure followed in this type of situation?

Ok i dont wanna use the " session.cache_limiter " because my scripts works better except the "Web page expired" error is there. Now do i have any other solutions apart from GET method and the cache_limiter. I am sure there is a procedure to overcome this issue.

If you could help me, i will give you a clear picture. I have page1 which has a form with months and year dropdown box from where i select a month and year and submit the form to page2 for processing. Page2 process the supplied value and generates only the records as per the supplied month and year. The records in page2 have corresponding hyperlinks to page3 which displays the records in more details. So it is how the pages works. Once i am in page3 and if i want to go back to page2 i get the above said error. Please suggest me with an appropiate advise and directions.
The error you get 'webpage expired' is generated by the browser -- something you have no control over. In fact, this is helpful for you because it prevents users from going back to pages.
Sep 16 '08 #4

pbmods
Expert 5K+
P: 5,821
Heya, Raaman.

You might find this article helpful: http://www.mnot.net/cache_docs/
Sep 17 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.