RE: [PHP] Session Not Being Passed?

From: Date: Fri, 19 May 2006 02:57:59 +0000
Subject: RE: [PHP] Session Not Being Passed?
Groups: php.general 
Request: Send a blank email to php-general+get-236469@lists.php.net to get a copy of this message
[snip] which points to this page, <?php session_start; //Check the user has logged in with a valid password if ($_SESSION['authuser']!=1) { echo "Sorry, you're not authorized to access this page"; exit(); } ?> [/snip] You forgot the parentheses after session_start(); (Assuming that you cut and pasted)

« previous php.general (#236469) next »