note 7745 deleted from function.session-register by jimw
| From: | jimw@php.net | Date: | Tue, 18 Dec 2001 22:21:12 +0000 |
| Subject: | note 7745 deleted from function.session-register by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23249@lists.php.net to get a copy of this message | ||
If you can't change the session_registered vars by using the post method, you can use this
approach.. not very attractive, but hey, it worked for me!
page1:
session_start();
session_register("temp_var");
[start a form, submit to form 2]
echo <input name=temp_var type="text" value"$var">;
[end a form]
FORM2:
session_start()
$var=$temp_var;
session_unregister("temp_var");
this is how i change my vars.
hope there will be a better solution soon!!