Re: session_save_path
| From: | John Holmes | Date: | Thu, 07 Oct 2004 15:49:44 +0000 |
| Subject: | Re: session_save_path | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198842@lists.php.net to get a copy of this message | ||
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 to be declared on page using session stuff.You can use session_save_path() to do this, but you'll need it in every script. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com