Re: [PHP4BETA] session bug ? maybe
| From: | Stefan Lindmark | Date: | Tue, 08 Feb 2000 21:09:29 +0000 |
| Subject: | Re: [PHP4BETA] session bug ? maybe | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9953@lists.php.net to get a copy of this message | ||
Try to register a session variable of a different name on page 2 and
assign it to the value from the form. You'd probably have to check the
input for validity and strange tags anyway.
§
Ben-Nes Michael wrote:
>
> 1.
> id session_register to var
> the in the same page I use a form with name="var"
> but when I press submit the registered var does not get the form value.
>
> 2.
> I tried to put the session_register in the second page and in the first
> page the form with name="var"
> then I submit and still I could not bind the form value on the
> registered value. (at least not without swapping names).
> --
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-6-6925757
> Fax: 972-6-6925858
> http://www.canaan.co.il
> --------------------------
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net