>I am a little desperate right now since I have tried to solve this >problem for 3-4 days now. I have developed a site that uses sessions for >user authentication and data storage between page access. The development >server is Apache1.3.24/MySQL4.1.0/PHP4.3.3/Win XP Pro The release server >is Apache1.3.27/MySQ3.2.25/PHP4.3.1/Linux 2.4.25 > >The site is working just fine on the development server, but when >uploading on release server it keeps losing session data and the users >are logged out of their account in a randomly manner.
I have experienced this problem as well, on pages that make heavy use of OOP and reference passing. I'm not sure why, but PHP would frequently neglect to write the session data to the file in /tmp. I haven't dug too deep, because I was able to quick-fix it by adding a session wrapper that force-writes session data to to disk after critical operations. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php