I am hosting a web site on tierranet and throughout the day sessions get lost. If I take the exact same code and run it on my Windows machine, I can run it for a week straight without any problems. I have not been able to figure out the problem and was wondering if anyone can provide any assistance or feedback.
At the top of most of my pages I have the following piece of code: if (!session_is_registered("valid_user")) { header ("location: logon.php"); } Obviously when the session gets lost, this piece of code redirects the user to the logon page. I have looked through my code and cannot figure it out (i do not believe it is a code problem). The server is running PHP 4.3.4 Please -- someone help! Paul Version: 6.0.705 / Virus Database: 461 - Release Date: 6/12/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.705 / Virus Database: 461 - Release Date: 6/12/2004 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php