session cookie

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

What happens when the the previous session cookie is not destroyed (but
session_destroy() and session_unset() have been used previously) apart
from the fact that the previous session id will be used. Does this mean
that the previous session only will continue?

Could this cause problems while logging in (assuming only the session
id is stored in the cookie and all the session variables are set again
on the checklogin page)?


Re: session cookie wrote:
Quoted text here. Click to load it

As long as you have deleted all session data it will be treated like a
brand new, shiny session. No previous data will be found.
Rik Wasmus

Re: session cookie

Thanks for the answer...I was wondering if you could help me out with
the following problem:

We have a website which requires a login...and the login is
authenticate via using the ssh2 functions in php...the
webserver is apache...
However, sometimes, the ssh2_connect function returns false if you
login again sometime after you have logged out....i.e. the connection
is not established...I am not able to find the reason why as not error
is generated...however ig you clear the browser cache and close and
open the browser again, it logs in jsut fine...the ssl logs just shows
that the child process has been terminated....
I am just not able to understand the would be great if
you could help me out


Quoted text here. Click to load it

Site Timeline