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

asp session times out too fast

classic ASP on IIS 5 - I have set Session to timeout in 60 minutes, both in my web pages (Session.Timeout), and in IIS. yet sessions always timeout in 15 minutes or so.

is this a bug or is there a way to solve this?
0
SweatCoder
Asked:
SweatCoder
  • 4
  • 2
1 Solution
 
alorentzCommented:
Doesn't sound familiar, post the code where you adjust timeout.

And, you should set session.timeout = 60 in global.asa just to be safe...
0
 
alorentzCommented:
And how are you determining that it is timeing out to early?
0
 
SweatCoderAuthor Commented:
where in global? Application_OnStart?

and is there a "one best place" to set this? i've tried various combinations, and the session always times out way too soon, no matter what i do.

at the top of my INCLUDE header file, I just do Session.Timeout = 60. that's it.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
SweatCoderAuthor Commented:
i determine the early timeout by simply noticing that if i don't hit or refresh one of my asp pages for roughly 15 minutes, it has timed out. if i wait only 10 minutes, session is still active. there are many users of this webapp, and everyone experiences roughly the same thing.
0
 
alorentzCommented:
Sub Session_OnStart
   session.timeout = 60
End sub
0
 
alorentzCommented:
Just in session_onstart...no other place is necessary.

And, if this is not your server, then the hosting company may have something set up to maintain resources.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

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