Re: session_register() twice?

From: Date: Fri, 26 Apr 2002 21:20:14 +0000
Subject: Re: session_register() twice?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-94819@lists.php.net to get a copy of this message
I've got the index.php page that checks if there's a session created. If it is not, it creates a new one. I print the session_id; Then I go through a link to a login.php page there I print the session_id and its a different one. What could be the problem? Sascha Schumann wrote:
On Fri, 26 Apr 2002, Javier wrote:
What happens if I call session_start() twice? Does it creates another session?
    It does nothing.
    if (PS(session_status) != php_session_none)
        return;
    - Sascha                                     Experience IRCG
      http://schumann.cx/                http://schumann.cx/ircg


« previous php.general (#94819) next »