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!
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.
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?
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!