Getting $_POST variables back

From: Date: Fri, 03 Sep 2004 13:44:07 +0000
Subject: Getting $_POST variables back
Groups: php.general 
Request: Send a blank email to php-general+get-195727@lists.php.net to get a copy of this message
Hi there, I am not sure if that is a common request, so I will post it here without checking the archives . ;-) I have a page which has its details from the $_POST array (ID, etc). On it there is a small link about people, this is done via href link in html. This link takes you to another page displaying info about people. What I want is to get back to the previous page without having to hit F5 again ("The session is up"). Obviously I cannot use js's history.back(-1) because the previous page needs the $_POST stuff. The interesting thing is now, if I do use history.back then after hitting F5 I get to the previous screen again (with my old $_POST) variables. NOW: The question arises: where does the browser store this info, and can I get it back from there on the page that got called via the href html? I would like to avoid some rather unnecessary server side selects to retrieve the previous page. Thanks Thomas

« previous php.general (#195727) next »