Session question

Results 1 to 2 of 2

Thread: Session question

  1. #1
    Join Date
    Dec 1969

    Default Session question

    I made a login system in ASP that uses Sessions for the login part. When a user logs in, his/hers username and password get checked through a database, upon verification sessions are generated to keep the user logged in when browsing the website. The following sessions are made:<BR><BR>Session("clearance") = RS("Clearance")<BR>Session("username") = RS("UserName")<BR>Session("userid") = RS("ID")<BR><BR>my question is, when a user is inactive for about 5-10 minutes the session seem to expire and the users is logged out automaticly. Is there a way to turn off this expiriation??<BR><BR>thanks in advance, joost

  2. #2
    Join Date
    Dec 1969

    Default RE: Session question

    If you didn&#039;t say otherwise it should log them off after 20 minutes. You can increase this by adding the line:<BR><BR><BR>&#060;% <BR>&#039;this will timeout in 1 hour in inactivity.<BR>Session.Timeout = 60 <BR>%&#062;<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts