RE: [PHP] Deleting session vars
| From: | Maxim Maletsky | Date: | Tue, 31 Oct 2000 11:01:46 +0000 |
| Subject: | RE: [PHP] Deleting session vars | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22905@lists.php.net to get a copy of this message | ||
why do you echo $name instead of what is registered by sessions: $a ?
I don't understand?
-----Original Message-----
From: Boris.C [mailto:crismancich@wettermacher.de]
Sent: Tuesday, October 31, 2000 7:45 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Deleting session vars
Hmm...
Page 1 submittet with <input type="text" name="name"
value="jerry"> looks
like
______________________
session_start();
session_register ("a");
echo $name;
$a = $name;
______________________
Now the user surfs trough different pages and comes to this site again
Page 1 now submittet with <input type="text" name="name"
value="tom">
______________________
session_start();
session_register ("a");
echo $name;
$a = $name;
______________________
prints out "jerry" instead of tom.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net