Re: session_save_path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


Meant for this to reply to you:

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux