Re: Session_start() issue??

From: Date: Mon, 03 Dec 2001 19:12:59 +0000
Subject: Re: Session_start() issue??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76405@lists.php.net to get a copy of this message
If you redirect using the full (http://foo.bar/rex...) URL, it may be restarting your session. Try using relative URLs.
Hi all, Has anyone seen this. I have a login form (login.htm) which calls a login handler (check_login.php). If the login is sucessfull the check_login.php will set a couple session variables, then redirect the user to a menu page. The problem I am seeing is that when I call session_start() from the menu page, I get a new session reference rather than a reference to the session I started in the check_login.php. Is there a setting in the php.ini I should change? Any thoughts would be greatly appreciated. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- Jim Musil --------- Multimedia Programmer Nettmedia ------------- 212-629-0004 jim@nettmedia.com

« previous php.general (#76405) next »