If you change the form action  to 'get' instead of 'post' this avoids the

<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">


Excellence in internet and open source software
tel. 0121-242-1473

> -----Original Message-----
> From: John Hughes [mailto:[EMAIL PROTECTED]]
> Sent: 09 April 2002 08:30
> 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
> John Hughes
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to