note 21670 added to function.session-start
| From: | usan1076 at yahoo dot com | Date: | Wed, 22 May 2002 16:18:38 +0000 |
| Subject: | note 21670 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30910@lists.php.net to get a copy of this message | ||
Heres a question -
When calling Header: Location to redirect to a new page.. Why am I getting a new session.
I have session_start() at the top of every page. The person fills in a login for, which goes to a
login.php for the action. It verfies (which it does fine) then redirects back to a home page. But
when they get to that page they now have a new session and have to try and log in again. This only
happens the first time the browser is opened. After the first login atempt and they are brought back
to the login page with a new session and they log in again.. the session sticks?
Any reason for this. I only call a couple sessiong_register's and the Header: Location in the
login script. I am on IE6.. thanks!
--
http://www.php.net/manual/en/function.session-start.php
http://master.php.net/manage/user-notes.php?action=edit+21670
http://master.php.net/manage/user-notes.php?action=delete+21670
http://master.php.net/manage/user-notes.php?action=reject+21670