Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with sessions

Status
Not open for further replies.

fayna

Programmer
Jan 14, 2002
35
ES
Hi!This is my problem: I start a session in a certain page, but when I refresh this page it starts another session and I can't access the first one. This occurs when session_use_cookies is set to false, when it's set to true I have no problems.
Is there a way to solve this?
Thanks
 
If your PHPSESSID variable is set, it wouldn't be a problem at all. Check at the end of the URL if there is a PHPSESSID, if not, it will start a new session every time. //Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top