Re: Using a reentrant form
| From: | Németh Zoltán | Date: | Tue, 13 Mar 2007 15:35:11 +0000 |
| Subject: | Re: Using a reentrant form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250445@lists.php.net to get a copy of this message | ||
2007. 03. 13, kedd keltezéssel 08.19-kor Todd Cary ezt írta:
> To validate a page, I set the form value to the page name the
> user is on. Then there is a hidden variable, "looped" that is
> set to "1". By checking "looped", I know if the user has
> re-entered the form so I can do my validation checks.
>
> Is there a disadvantage to this approach?
it is more secure to store that in a session variable instead of a
hidden field
greets
Zoltán Németh
>
> Thank you...
>