about expiration variable session

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oranoos3000
    New Member
    • Jan 2009
    • 107

    about expiration variable session

    hi
    do variable session expire after specific time from opening page?
    if answer yes ?how much is this time?
    else
    if variable session is set on server no expiration automatically
    how do expire this variable after specific time?
    do variable session expire with closing page that
    session in that page is set?
    thanks alot
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    Originally posted by oranoos3000
    do variable session expire after specific time from opening page?
    if answer yes ?how much is this time?
    unless set otherwise, yes. depends on the server setting.

    Originally posted by oranoos3000
    if variable session is set on server no expiration automatically how do expire this variable after specific time?
    usually there is automatic expiration, changing the server settings is impossible with Javascript. although you can delete the session cookie.

    Originally posted by oranoos3000
    do variable session expire with closing page that session in that page is set?
    no (that's why sessions were invented—keepin g variables (such as login status) across pages)

    Comment

    Working...