RE: [PHP-DB] setting session variables via a form
| From: | Ford, Mike [LSS] | Date: | Mon, 16 Jun 2003 16:11:58 +0000 |
| Subject: | RE: [PHP-DB] setting session variables via a form | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28645@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Hutchins, Richard [mailto:Richard.Hutchins@Getingeusa.com]
> Sent: 16 June 2003 17:08
>
> session_start();
> session_register("isRegistering");
>
> $_SESSION["isRegistering"] = "true";
B'zzzzt! If you're using the $_SESSION array, then you MUST NOT use session_register()
and friends.
(Well, ok, maybe that's overstating it a bit, but you still shouldn't do it!)
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211