There are quite a few differences that might be a problem with GET.
In get the the values arer passed with the URL, which means that the user will be able 
to see what is passed. 
Also it means that you can endlessly refresh the same page with the same parameters, 
which would be a problem if the page updated a database. 
Finally in the get method there is a limit on the amount of data that can be passed. 
This limit is browser dependent.

hth Henrik Hornemann

> -----Oprindelig meddelelse-----
> Fra: Harpreet [mailto:[EMAIL PROTECTED]
> Sendt: 15. juli 2003 00:25
> Til: [EMAIL PROTECTED]
> Emne: Fw: [PHP-WIN] Back button error
> 
> 
> 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" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
> > 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
> > [EMAIL PROTECTED]
> > "Harpreet" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> 
> 

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

Reply via email to