RE: [PHP] User authentication
| From: | Dan Joseph | Date: | Thu, 02 Oct 2003 16:28:55 +0000 |
| Subject: | RE: [PHP] User authentication | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164779@lists.php.net to get a copy of this message | ||
Hi,
> The problem is that the $_SESSION['userid'] doesn't return anything on
> this page..
> Am I not calling the session variable correctly or not storing it
> correctly?
> In my php.ini I have globals turned off. Does this effect it?
Hi, yeah, its my understanding (and someone can correct me if I am wrong..)
that if you have that turned off, then you can't use session_register().
Instead, do $_SESSION['userid'] = 10; and see if that works.
-Dan Joseph