I'm having all sorts of problems with sessions on 4.1.2, the hosts refuse to update and i'm stuck with them, i've heard there was some kind of bug with sessions in this version of php but i just cant seem to get round it. my sessions just dont seem to persist properly, for example a session variable called $username. I echo this back to show the users logged in name, however as soon as i go to another page that also uses $username (to display another persons username in another context)then this becomes the value held as $_SESSION['username'];
the session definitely gets registered in that it is persistent across multiple pages, it just gets changed somehow. On the page that changes the session var (the first place that $username is used) there is no mention or use of sessions other than session_start()
without showing pages of code is there something specific to 4.1.2 that i should be aware of that other people have come across themselves?
Thanks.