When a user logs in, it redirects them to a page that prints their account name, thus showing that they are logged in. But if they leave the page and come back they get logged out, and if they refresh the page they get logged out. I don't know why the session keeps clearing, how do I make it stay? Please help, desperate D:
Dartz654
0
Newbie Poster
Recommended Answers
Jump to PostThere have been problems with losing sessions after a redirect but some of them are specific to the browser and other variables in the environment. In most cases, the session is lost as a result of the redirect but you seem to be saying that it is working initially because …
All 8 Replies
rajarajan2017
chrishea
182
Nearly a Posting Virtuoso
Dartz654
0
Newbie Poster
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
Dartz654
0
Newbie Poster
Dartz654
0
Newbie Poster
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
Dartz654
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.