php_flag session.auto_start 0 not working

From: Date: Thu, 27 Feb 2003 05:05:22 +0000
Subject: php_flag session.auto_start 0 not working
Groups: php.general 
Request: Send a blank email to php-general+get-137359@lists.php.net to get a copy of this message
I am using php_flag session.auto_start 0 in an .htaccess file to stop sessions from auto starting. It works on all but the one below, it still auto starts. The session replaces linked style sheets on the page through some links. Can anyone see the problems? session_start(); if ( isset($_GET['style']) ) { $_SESSION['style'] = $_GET['style']; } elseif ( !isset($_SESSION['style']) ) { $_SESSION['style'] = 'styles'; } TIA Gary

« previous php.general (#137359) next »