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

Re: [bang-phpug] Session problem

Expand Messages
  • ganu
    Hey, You can use in another way. 1. when the user comes next time, and he/she loges in. chk the db with the session status. IF the session is ON then update
    Message 1 of 2 , Aug 15, 2007
    • 0 Attachment
      Hey,

      You can use in another way.

      1. when the user comes next time, and he/she loges in. chk the db with the
      session status.
      IF the session is ON then update the DB with the new value and new time.
      2. run a cron at end of day, if the user is online more then 23 hrs. delete
      the entry from the table.

      ------------
      ganu.

      On 8/14/07, Pritesh Loke <priteshloke@...> wrote:
      >
      > Hello to all
      > i am storing session id [session_id();] when any user comes one my website
      > and he or she closed the browser i want to removed that session
      > id.Basically i am storing session id in database but i how can checke
      > current session id is live on the server ?
      >
      > Thank you in advance
      >
      > PML
      >
      > ---------------------------------
      > Moody friends. Drama queens. Your life? Nope! - their life, your story.
      > Play Sims Stories at Yahoo! Games.
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >


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