Re: [PHP] session_save_path

2004-10-07 Thread John Holmes
Al wrote: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a server error 500. Try putting quotes around the path and this should work, providing your ISP allows .htaccess files. I'm guessing that session_save_path has

RE: [PHP] session_save_path

2004-10-07 Thread Ed Lazor
Can you do an .htaccess solution? If so, you could probably just set session save path with PHP_VALUE in the .htaccess file -Original Message- From: Al [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 8:25 AM To: [EMAIL PROTECTED] Subject: [PHP] session_save_path My

Re: [PHP] session_save_path

2004-10-07 Thread Al
John Holmes wrote: Al wrote: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a server error 500. Try putting quotes around the path and this should work, providing your ISP allows .htaccess files. I'm guessing that

Re: [PHP] session_save_path

2004-10-07 Thread Al
Ed Lazor wrote: Can you do an .htaccess solution? If so, you could probably just set session save path with PHP_VALUE in the .htaccess file Note, from my original message: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a

Re: [PHP] session_save_path

2004-10-07 Thread Al
John Holmes wrote: Al wrote: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a server error 500. Try putting quotes around the path and this should work, providing your ISP allows .htaccess files. I'm guessing that

Re: [PHP] session_save_path

2004-10-07 Thread Jordi Canals
For all you're talking about, It looks like your hosting provider is running PHPsuExec. So, PHP is now running as CGI and .htaccess does not work anymore to setup PHP values or flags (Will fire a 500 internal server error). Instead, you have to use a custom php.ini fle. (just write in this custom

Re: [PHP] session_save_path

2004-10-07 Thread Jordi Canals
You have to set the session_save_path(some_where) in all pages where you call to session_start(). And you should do it *before* calling session_start. On the manual: session_save_path() returns the path of the current directory used to save session data. If path is specified, the path to which