When I declare and call session variables, this error message always comes up:
Warning: Cannot send session cookie - headers already sent by (output started at /home/.decker/threerr/threeriversrambler.com/res/page1.php:5) in /home/.decker/threerr/threeriversrambler.com/res/page1.php on line 17
My code is:<? session_start(); session_register("sess_var"); $sess_var="Hello"; echo " the value of sess_var is $sess_var
Does anyone know of special syntax or file permisions needed to set session vars in DH? Or a way to work around the automatic php session that causes this error?