session_register() twice?

From: Date: Fri, 26 Apr 2002 21:10:31 +0000
Subject: session_register() twice?
Groups: php.general 
Request: Send a blank email to php-general+get-94815@lists.php.net to get a copy of this message
What happens if I call session_start() twice? Does it creates another session? Cause something odd is going on with this simple script.
     if(!SesionActiva()){ -It checkes wether there an active session
         SesionCrear(); - It creates the session
     }
     /*SesionActivar();*/
     echo "<pre>" . session_id()."</pre>";
     MostrarPaginaPrincipal(); --Showing the main page.


« previous php.general (#94815) next »