Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

$_SESSION problem - expiration delay

Status
Not open for further replies.

ScanX

Programmer
Oct 13, 2003
26
BE
Hello,

I've been trying to make a simple script with a form in step 1 which, when being submitted loads the same page/script but goes in step 2.

The problem is while I'm in step 2 and if I want to click on BACK in IE, I can't get my form in step 1 filled with all the values I entered before. All I get is an error saying "expiration delay, the page you're trying to load was created using informations coming from a form. this page aint available anymore...." (translated from french to english)

I'm really lost and can't find where my error is.

Here's where you can find the code :



Thanx in advance for your help

ScanX
 
Not sure if this will help---

put this line of code right after your session_start();

[tt]header("Cache-control: private");[/tt]

*cLFlaVA
----------------------------
A pirate walks into a bar with a huge ship's steering wheel down his pants.
The bartender asks, "Are you aware that you have a steering wheel down your pants?"
The pirate replies, "Arrrrr! It's driving me nuts!
 
no this aint a working solution
 
Sorry but none of theses solutions are what I'm looking for.

I'm looking for a solution that allows me to click on the "back" button of the browser so I can modify the form i just filled for example...that is no redirection (because the form is being processed on the same php page than the one used to display it when I have to fill it in).

so no headers are sent to answer your question ingresman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top