473,386 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Page has Expired, BACK-button -problem in php

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
1 1944
pbmods
5,821 Expert 4TB
Heya, bharu.

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

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

Similar topics

8
by: NotGiven | last post by:
The user searches and see the results, then clicks for more detail in a result. He then clicks the BACK button in the browser to see the results again and....gets a page expired error. How do...
1
by: Rahul Chatterjee | last post by:
Hello All I have a web pagewhich queries a db and displays information on the subsequent page. On the subsequent page if I click back to previous page (this is a button with javascript code on...
16
by: | last post by:
At the moment I am getting the following Expired Warning if a user logins into a secure page and attempts to press the 'back' button: Warning: Page has Expired The page you requested was created...
1
by: Stuart Wexler | last post by:
Hi, I have a GUI followed by a CFM processing page, followed by an ASP processing page (don't ask) followed by a confirmation page. My problem is that the back button has it reprocess the same...
1
by: William Bradley | last post by:
In a database I have a table that amongst other cells has a "current date" cell, and "expired date" cell and an "Index Number" cell. The "index number" cell contains code that converts the...
1
by: dave | last post by:
How do you get around the problem of "Warning: Page Expired" when clicking the back button a browser. I have several cases where i have a listing page that then goes to a detail page in the same...
3
by: Jordan | last post by:
I would like users to see the standard "page expired" warning when they click the Back button. I've searched on web, but haven't been able to find a solution for this. Any suggestions? ...
2
by: Loane Sharp | last post by:
Hi there Sometimes, when I hit the <Back> button in the browser, instead of going to the previous .aspx page I get an error screen and "Warning: Page Expired". (This is a "regular" error page...
4
by: Sarvesh997 | last post by:
Hi, I have one problem regarding search & search results page in IE & Firefox. A code in both pages written in Php & database in MySQL Problem : When i selected one or more checkbox &...
0
by: =?Utf-8?B?TWVobWV0?= | last post by:
Hi, I am using asp.net 2.0 and I want to show message to users when use back button on IE or Firefox or any browser. "Web page expired" is standart message and I saw same web site. I tried a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.