By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,744 Members | 1,808 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,744 IT Pros & Developers. It's quick & easy.

session cookie

P: n/a
Hi,

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)?

Harsha

Jan 21 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Rik
ha***************@gmail.com wrote:
Hi,

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)?
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
Jan 21 '07 #2

P: n/a
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 ssh2....by 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 connection...it would be great if
you could help me out

Thanks,
HArsha

On Jan 20, 7:52 pm, "Rik" <luiheidsgoe...@hotmail.comwrote:
harsha.patiban...@gmail.com wrote:
Hi,
What happens when the the previoussessioncookie is not destroyed
(but session_destroy() and session_unset() have been used previously)
apart from the fact that the previoussessionid will be used. Does
this mean that the previoussessiononly will continue?
Could this cause problems while logging in (assuming only thesession
id is stored in the cookie and all thesessionvariables are set again
on the checklogin page)?As long as you have deleted allsessiondata it will be treated like a
brand new, shinysession. No previous data will be found.
--
Rik Wasmus
Jan 24 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.