Make sure also that both pages have session_start(); on them so that
sessions continue. I have used sessions and forms and basically I have
the engines that process forms on different pages, and when the forms
are submitted, the engine pages display a message and a link to the
previous page, you might want to do this instead of haven people press
the back button.

- Victor >

-----Original Message-----
From: Erwin [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 03, 2002 6:19 AM
Subject: [PHP] Re: Session problem

> I am using session_start() and
> session_register("variablename") . The when I click on
> the back button from the browser it shows me the
> following error:  "Warning: Page has Expired The page
> you requested was created using information you
> submitted in a form. This page is no longer available.
> As a security precaution, Internet Explorer does not
> automatically resubmit your information for you.   To
> resubmit your information and view this Web page,
> click the Refresh button. "

That has nothing to do with your sessions. It has to do something with
in HTML. If you use the POST method for forms, then the page will expire
you don't resubmit the values. You can also read that in the text.
You cannot change this behaviour, because your browser does this for
To force the browser to resubmit the values, you have to push the

You won't get this behaviour if the form is submitted with the GET
because the variables are then part of the URL (and thus automatically
submitted if you push the back button)


PHP General Mailing List (
To unsubscribe, visit:

Post your free ad now!

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to