Fw: [PHP-WIN] Back button error

From: Date: Mon, 14 Jul 2003 22:25:08 +0000
Subject: Fw: [PHP-WIN] Back button error
Groups: php.windows 
Request: Send a blank email to php-windows+get-20786@lists.php.net to get a copy of this message
Cristian, You said by using the method in a form as Get in place of Post it allows me to use the back button without getting the error message: 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. I changed the post to a GET and it seems to work just right. Do I loose anything by using a get in place of a POST. How r they both different. Please help. Thanks "Cristian MARIN" <cristic@iakt.rdsnet.ro> wrote in message news:20030617171447.79925.qmail@pb1.pair.com... > This is not an error, this is a security issue: > Your form has passed the form variable thru 'post' method and when you are > hitting back button or reloading with a JScript the history page you see the > message because the IE do not re-submit automatically the form because is a > security leak. > > If you really don't want to see the message appearing you have to specify in > the form the "<post method='get' action='... >" and this will > automatically > submit the form once again. > > -- > ------------------------------------------------- > Cristian MARIN - Developer > InterAKT Online (www.interakt.ro) > Tel: +4021 312.53.12 > Tel/Fax: +4021 312.51.91 > cristic@interakt.ro > "Harpreet" <harpreet@crispincorp.com> wrote in message > news:03ca01c334f3$980dbbc0$6001a8c0@harpreet...

« previous php.windows (#20786) next »