I'm losing session variables on this page (posted below) and I have no clue as to why. All the other pages work and if I change the link to another page it keeps the variables so it's nothing to do with anything getting passed to this page. It's kinda long so I appreciate in advance anyone who can help me out with it 🙂
What's happening is that the value of the session variable seems to dissappear but the state still exists (the variable is still there but either has no value or is not passing the value to the end user).
This code works PERFECTLY on both other machines that I run it on, it only won't work on my server once I uploaded it.
I've uploaded a phpinfo page HERE.
P.S. And yes I know it's probably not the most efficient PHP coding in the world for my second PHP project evar :-P
P.S.S I'm an idiot, here's a link to the code on my website.
HERE IS THE STATS.PHP PAGE IN *.TXT FORMAT
P.S.S. Pretend that second line:
// $username = $_SESSION['user'];
isn't commented out because it isn't...now ;-) Thanks again.