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

Page has Expired, BACK-button -problem in php

P: 1
I have 2 pages where i have submit button on 1st page & on 2nd page i have previous button. Both the time i post the data means submit the forms two times. But when i clicked 2nd page's browser back button i get 1 st page with the data but if i click on 1st page's browser back button i get the Warning: Page has Expired. Can any one tell me the solution for? Also i have tried the

header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: post-check=0, pre-check=0",false);
session_cache_limiter("must-revalidate");


this code for both the pages & my session is start on in the class file which i have included in the header of the page.
Oct 30 '08 #1
Share this Question
Share on Google+
1 Reply


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

You might find this article to be useful: http://www.mnot.net/cache_docs/.
Nov 16 '08 #2

Post your reply

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