I'm making a home page in PHP and MySQL with a login function.
the user types in username and password and a $_SESSION variable is created, and now comes the problem. I can only call the session-variable once and then it dies, when I change page the session-variable is empty, it only lasts for a couple of seconds which to me is really weird.
I'm a noob at programming. any help is appreciated