strange $_SESSION behaivor
Posted on 2016-08-23
I have a site I am developing; relies heavily on $_SESSION variables.
I have it working fine at my development site. Zero issues with the $_SESSION vars
Transferred to customer hosting at GoDaddy. Odd problems. At least one (maybe more) of the session vars just disappears. Maybe the name, I use $_SESSION['user'], the one disappearing? I put a whole bunch of echo's in to find out where it disappears, finally I used a query string var ($_GET) to pass it from one script to another, where I reset the $_SESSION['user']. So far that works, but I am skeptical down the road.
Is 'user' as a session var name reserved (or used for other purposes by php)?
Can anyone shed any light on this, I don't want to post a bunch of code, etc.?