setting the session time-out after some time of inactivity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • narendradatta
    New Member
    • May 2007
    • 1

    setting the session time-out after some time of inactivity

    hello everybody
    i m new in php

    i want to fix the time out of the session after some time of inactivity of the user
    i hav tried some functions but its not working
    so plz help me to solve this problame

    thanks in advance
  • devsusen
    New Member
    • Feb 2007
    • 136

    #2
    Hi,
    if u r using a session then it has a predefined time limit for expire. So u need to set the value using scripts.

    If u can tell ur problem a little more and if possible show ur code then may be we can help u more. :)

    Originally posted by narendradatta
    hello everybody
    i m new in php

    i want to fix the time out of the session after some time of inactivity of the user
    i hav tried some functions but its not working
    so plz help me to solve this problame

    thanks in advance
    susen

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      If you are keeping track of the session using a COOKIE, you can set the session cookie to expire by utilizing the ession.cookie_l ifetime variable.

      Comment

      Working...