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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sessions not holding SessID

Status
Not open for further replies.

joeisbatman

Programmer
Oct 8, 2001
39
US
Hi everyone,

This is a weird problem that does not happen to everyone on my website, and it occurs seemingly randomly.

I use the default method of cookies to propagate a session. Sometimes, I find that this cookie DOESN'T STORE THE SESSION ID! The cookies name is by default PHPSESSID, and if I look into my cookie I get.

PHPSESSID
-this area blank (usually session goes here)
1024
654684798
23458498
903242
*

Does anyone know what could cause the session_start() to not hold the session ID? Another interesting feature is any calls to session_id() return a value of "". I'm confused why my cookie data isn't holding the session, and why this doesn't happen all the time. What the heeelll?

PS- i feel that this post is HIGHLY related to the previous post made about double session variables.
--Thanks for any help
Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top