Re: [PHP-DB] How to avoid: Warning: Page has Expired
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 <[EMAIL PROTECTED]> 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/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] How to avoid: Warning: Page has Expired
I've addressed this problem here: http://php.sitecreative.com/faq.php - Jonathan -Original Message- From: John Hughes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 12:30 AM To: [EMAIL PROTECTED] 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] How to avoid: Warning: Page has Expired
If you change the form action to 'get' instead of 'post' this avoids the message. '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' HTH Peter --- Excellence in internet and open source software --- Sunmaia www.sunmaia.net [EMAIL PROTECTED] tel. 0121-242-1473 --- > -Original Message- > From: John Hughes [mailto:[EMAIL PROTECTED]] > Sent: 09 April 2002 08:30 > To: [EMAIL PROTECTED] > 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 > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php