RE: [PHP] Sessions and login
| From: | Ford, Mike [LSS] | Date: | Thu, 12 Jun 2003 08:41:21 +0000 |
| Subject: | RE: [PHP] Sessions and login | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151209@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Angelo Zanetti [mailto:binc2@ctech.ac.za]
> Sent: 11 June 2003 14:09
> session_register('user');
> $_SESSION['user'] = "ebusUser";
Just one other quick point here: if you use the $_SESSION array, you don't
need to -- and, in fact, should not -- use session_register() and friends.
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