Re: Cannot write data in session file

From: Date: Wed, 22 Sep 2004 21:23:57 +0000
Subject: Re: Cannot write data in session file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-197629@lists.php.net to get a copy of this message
Bo Deng wrote:
I just move the web pages from windows to linux. But the session variable doesn't work. And I found that in the \tmp directoy, it has sess_****(MD5) file,but with empty contents,just 0 byte. BTW, I run a linux virtual host under IBM s390. the code works well in windows and other linux systems(not virtual host). So how to fix it ?
are those session files created by your scripts? Output $_REQUEST[session_name()] and check if /tmp/sess_[the output] exists. Then check if there is enough space on /tmp partition an if quota does not limit the webserver.

« previous php.general (#197629) next »