Re: PHP4 Session Handling

From: Date: Fri, 07 Sep 2001 06:29:18 +0000
Subject: Re: PHP4 Session Handling
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66341@lists.php.net to get a copy of this message
> 1) Added this line into the .htaccess file: php_value session.save_handler > user I would have expected this to work, since it happens before PHP gets involved... > 2) session_module_name("user"); > 3) ini_set("session.save_handler", "user"); Speculation: These would not work *if* the php.ini had auto_session turned on, probably, since the session would have been initialized before your code was executed, I should think. > Fatal error: Failed to initialize session module in > /home/woodstor/thefinewoodstore-www/index.php on line 3 Do file-based sessions work? Have you thoroughly tested your mysql_session_* functions? -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#66341) next »