Empty $_SESSION files???

Kevin Cozens kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org
Wed Nov 2 06:54:27 UTC 2011


On 11-11-01 08:22 PM, Stephen W. Clarke wrote:
> My apache web server just dropped the ability to store a PHP $_SESSION
> cookie.
> All the files is /var/lib/php/sessions are empty.

Check /etc/php5/apache2/php.ini and see if you have:
	session.save_handler =files
or perhaps you have:
	session.use_only_cookies = 1

Scroll a bit further down and see what path is set for saving session data.
Check permissions on the specified directory. Make sure it is writable by 
the webserver.
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list