Following my previous problem with session.auto_start having to be 0 for phpSecureAdmin to work.
I now find that other parts of the site
are not working because they require auto_start to be 1.
I've tried putting php_flag session.auto_start 0 into a .htaccess file in each directory but this doesn't seem to help. (Apache 1.3 is configured to use .htaccess files).
Any ideas how I might get around this problem or am I better to post this to a PHP list somewhere?
Howard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also had to comment out
ini_set('session.save_handler','user');
in include/_sessions.php because it
was telling me I couldn't write the value to the ini file. Even so it all seems to be working OK now with auto_start set to 0.
Once again thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Back again
Following my previous problem with session.auto_start having to be 0 for phpSecureAdmin to work.
I now find that other parts of the site
are not working because they require auto_start to be 1.
I've tried putting php_flag session.auto_start 0 into a .htaccess file in each directory but this doesn't seem to help. (Apache 1.3 is configured to use .htaccess files).
Any ideas how I might get around this problem or am I better to post this to a PHP list somewhere?
Howard
You could try commenting out the session_start() call in the include/config.php and _restrict.php files to see if that makes a difference for you.
Those are the only 2 places that session_start() is called, so it might be all you need to do.
That fixed it.
I also had to comment out
ini_set('session.save_handler','user');
in include/_sessions.php because it
was telling me I couldn't write the value to the ini file. Even so it all seems to be working OK now with auto_start set to 0.
Once again thanks