Loading ...
Sorry, an error occurred while loading the content.

Re: [in-phpug] Session timeout

Expand Messages
  • abhishek jain
    Hi, My server time is correct and set to IST. -- Regards, Abhishek jain ________________________________ From: Rohan Prabhu To:
    Message 1 of 3 , Jul 2, 2009
    • 0 Attachment
      Hi,

      My server time is correct and set to IST.
      --
      Regards,
      Abhishek jain




      ________________________________
      From: Rohan Prabhu <rohan@...>
      To: in-phpug@yahoogroups.com
      Sent: Tuesday, June 30, 2009 6:57:05 PM
      Subject: Re: [in-phpug] Session timeout





      Check to see if your server time is correct and is set to UTC. Since PHP
      Sessions are handled via cookies, they expire prematurely if a wrong
      time is set. Since the time set for the cookie is an addend to the
      current time, your current time must be set properly.

      Also, check the php manual for how much time a session time is kept
      alive. In the php.ini file, it is something like 'session_alive_ time' or
      something.. not sure.. just lookup that one and set the time accordingly.

      regards,
      rohan

      abhishek jain wrote:
      >
      >
      >
      > Hi,
      > My site abruptly at times closses session, ie the user logs out
      > automatically even if he is refreshng and browsing the site,
      >
      > I do not know the reason why? as the time at times is less than 1 min
      > and at times the time to logout is a hour, i know something is
      > misconfigured but i do not know what?
      >
      > Also I need to have a checkbox like 'Remember me' ie keep the user
      > logged in, i know something to do with cookies, but again manage
      > session with cookies , how?
      >
      > Pl. help.
      >
      > --
      > Regards,
      > Abhishek jain
      >
      >







      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.