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 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.


My declaration is simply appended to the end of a htaccess that has been running for a year.


Here it is exactly:
php_value session.save_path "/www/r/restonx/htdocs/sessions2"

Also, tried it without the quotes.

Also, echoed "session.save_path()" to make certain my path syntax was identical to the one in php.ini that works.

Thanks.......

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to