merlot7799
2008-12-11 13:14:52 UTC
session_start();
echo 'Session uid: '.$_SESSION['uid'];
...
?>
Here's my problem: When anyone in the office visits one particular page, $_SESSION['uid'] returns null, and the user is logged out (the entire session is killed). After visiting this page, they can't go anywhere in the site...they're logged out. It only happens on ONE of several hundred pages. And here's the catch: It only happens on ONE computer. Everyone in the office can visit every page, on every computer except one. On this one computer, everyone can visit every page except one. I have a mixture of XP/Vista boxes. The entire office is behind a router and the web server is at another location, so the web server only sees one IP address anyway.
I'm really stumped. Why just one computer? Why just one page on that computer? The first several lines of code on every page (the validation lines) are identical.
Any clue? Thanks!