I'm having a funny problem. More than likely it's something simple
that I'm just not seeing, but ...I'm not seeing it!
I'm storing session data in a table, following the model in Lerdorf &
Tatroe. Everything seems to work fine until I (as 'the user') log
out.
The logout process purges the record from the sessions table and
deletes the session-id cookie. This works fine. I check afterward
and they are gone.
But the next time I come back in, though, I have a problem.
session_start() apparently doesn't allocate a new session id. The
new session record has a blank in the id field, and the session cookie
is allocated but id-less.
So either I don't really understand how session_start works, or I'm
inadvertently getting it confused, or....
Any ideas?
thanks,
Margaret
--
(To mail me, please change .not.invalid to .net, first.
Apologies for the inconvenience.)
that I'm just not seeing, but ...I'm not seeing it!
I'm storing session data in a table, following the model in Lerdorf &
Tatroe. Everything seems to work fine until I (as 'the user') log
out.
The logout process purges the record from the sessions table and
deletes the session-id cookie. This works fine. I check afterward
and they are gone.
But the next time I come back in, though, I have a problem.
session_start() apparently doesn't allocate a new session id. The
new session record has a blank in the id field, and the session cookie
is allocated but id-less.
So either I don't really understand how session_start works, or I'm
inadvertently getting it confused, or....
Any ideas?
thanks,
Margaret
--
(To mail me, please change .not.invalid to .net, first.
Apologies for the inconvenience.)
Comment