PHP sessions & headers.

From: Date: Wed, 20 Dec 2000 00:00:55 +0000
Subject: PHP sessions & headers.
Groups: php.general php.general 
Request: Send a blank email to php-general+get-31099@lists.php.net to get a copy of this message
I'm wondering how I can test for the existence of a particular session id before actually calling session_start(). Ultimately I'd like to check if the session id is valid one, if it is then session_start(), otherwise header("loginpage.php"). Because session_start() I believe attempts to send a cookie header, all headers after this point are defunct, correct? Thanks for your help.
-          -          -          -          -          -          -  -          -          -          -
WARNING: Some experts believe that use of any keyboard may cause serious injury. Consult Users Guide.
                                                                                      dfunct@telus.net


« previous php.general (#31099) next »