RE: [PHP-DB] How to avoid: Warning: Page has Expired
| From: | Peter Lovatt | Date: | Tue, 09 Apr 2002 15:54:39 +0000 |
| Subject: | RE: [PHP-DB] How to avoid: Warning: Page has Expired | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18358@lists.php.net to get a copy of this message | ||
If you change the form action to 'get' instead of 'post' this avoids the
message.
<form action="script.php3" method="get">
'Get' data is displayed on the address line
eg http://domain.com/script.php3?photoID=123&viewtype=full
so it should be avoided for sensistive data like passwords or credit card
numbers. This kind of data should always use 'post'
<form action="script.php3" method="post">
HTH
Peter
-----------------------------------------------
Excellence in internet and open source software
-----------------------------------------------
Sunmaia
www.sunmaia.net
info@sunmaia.net
tel. 0121-242-1473
-----------------------------------------------
> -----Original Message-----
> From: John Hughes [mailto:john@jomari.com]
> Sent: 09 April 2002 08:30
> To: php-db@lists.php.net
> Subject: [PHP-DB] How to avoid: Warning: Page has Expired
>
>
> 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
>