Posted by Mike on 10/28/06 13:27
I need to change a setting in the php.ini file but the host won't
change it.
I know I can put the following before the session_start()..
ini_set('session.use_cookies',0);
but do I need to do this on every page or is once enough on say a login
page?
Also, I have read that you can add the following to a .htaccess file...
php_value session.use_cookies 0
I created a 1 lined text file with the above line in it and saved in on
the server in the same dir as the index page under the file name
..htaccess.
This didn't work and I got an internal server error.
Any suggestion on the above.
Many Thanks
Mike
[Back to original message]
|