HELP! Sessionfile is written but not loading again

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aks
Forum Newbie
Posts: 1
Joined: Tue Jan 28, 2003 2:35 pm

HELP! Sessionfile is written but not loading again

Post by aks »

When I start a session the session-file is written correctly on disk, but I can't get any values out of it again.
After session_start() on the next page no session vars are set.

I have nothing changed on the php.ini file!

Someone knows an answer?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

OS? Webserver (version)? php (version)?
nothing changed in php.ini suggest a unix-style system, so session.save_path is still /tmp? Is there a daemon of some kind that wipes out files in /tmp?
bo
Forum Newbie
Posts: 1
Joined: Wed Jan 29, 2003 8:20 am
Location: Högvallen, north of Sweden

same problem

Post by bo »

I have the same problem on a newly installed SuSE Linux 8.1 running PHP Version 4.2.2 and Apache/1.3.26. It used to work just fine on my previous system, SuSE 7.3, dont know the versions of PHP and Apache then. Strange!
Post Reply