• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • Last Modified:

.asp dreamweaver session variable time out

I need to increase the time a session variable is needed from 20 minutes to an hour. I'm using .ASP and Dreamweaver.

How do I do it?
 
0
hbojorquezgeek
Asked:
hbojorquezgeek
1 Solution
 
Justin_Case_77Commented:
<%  
response.write("Current Timeout is: " & Session.Timeout & " minutes.")

Session.Timeout=60   ' Set new timeout value

response.write("Timeout is now: " & Session.Timeout & " minutes.")
%>

OR if you have access to the web server you can set session timeout for the whole site.
1. Computer management
2. right click site -> properties
3. Configuration
4. Options
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now