Re: !!Urgent .. Session Problem
| From: | Torsten Roehr | Date: | Sat, 04 Sep 2004 08:50:13 +0000 |
| Subject: | Re: !!Urgent .. Session Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195815@lists.php.net to get a copy of this message | ||
"Dre" <dre00x@yahoo.com> wrote in message
news:20040904080637.92239.qmail@pb1.pair.com...
> session_register('uname');
> $_SESSION['uname'] = $username;
Hi Dre,
Nick already answered your question so just a short note:
you should not use session_register() with your PHP version anymore, so just
delete the first of the upper two lines.
Excerpt from the manual:
>>>
Caution
If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use
session_register(), session_is_registered(), and session_unregister().
<<<
Regards, Torsten Roehr