Re: How to avoid: Warning: Page has Expired
| From: | olinux | Date: | Wed, 10 Apr 2002 04:16:46 +0000 |
| Subject: | Re: How to avoid: Warning: Page has Expired | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18373@lists.php.net to get a copy of this message | ||
Using the GET method is a great solution, but
sometimes you just gotta POST! I have found the best
solution to be using a separate file to do the
processing.
For example login.php submits 'user' and 'password' to
auth.php. auth.php queries the db for 'user' and
'password' and redirects [via header()] to
whatever.php or back to login.php if login was
unsuccessful.
olinux
--- John Hughes <john@jomari.com> wrote:
> I have the first part of the kids' soccer photo
> database site up that I
> mentioned in an earlier post.
>
> The site displays nine image thumbnails. You click
> on the thumbnails and are
> taken to a full size photo. Everything works as
> expected for the first nine
> images but when you go to the next page of
> thumbnails, you start getting:
>
> 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.
>
> What causes this and how can I fix it so this
> doesn't happen?
>
> The URL for this site is
> http://fuzzheads.org/barcelona
>
> TIA
>
> John Hughes
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/