note 35326 added to ref.session
| From: | contact at rack1 dot php dot net | Date: | Wed, 27 Aug 2003 20:32:51 +0000 |
| Subject: | note 35326 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55187@lists.php.net to get a copy of this message | ||
In response to jvilla's login and verifying code up midway, I couldnt get it to work until I
added a session_start(); at the very top of the header file which is included in all visible pages.
I tried putting the session_start(); other places but it wouldnt register a session. So that seemed
to fix it. Thanks for the code.
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35326
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35326&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35326&report=yes