session cookie

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • harsha.patibandla@gmail.com

    session cookie

    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

  • Rik

    #2
    Re: session cookie

    harsha.patiband la@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


    Comment

    • harsha.patibandla@gmail.com

      #3
      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 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...how ever 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.comwro te:
      harsha.patiban. ..@gmail.com wrote:
      Hi,
      >
      What happens when the the previoussession cookie is not destroyed
      (but session_destroy () and session_unset() have been used previously)
      apart from the fact that the previoussession id will be used. Does
      this mean that the previoussession only will continue?
      >
      Could this cause problems while logging in (assuming only thesession
      id is stored in the cookie and all thesessionvaria bles 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

      Comment

      Working...