ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old July 16th, 2003, 09:25 PM
Miss K. Miss K. is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Australia
Posts: 20 Miss K. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 32 sec
Reputation Power: 0
Session Timeout

Suppose I set the timeout of my session at 2 hours. If I remain using my ASP application for the full 2 hours, that is, it is never idle for more than say 20 minutes, does it still abandon the session after 2 hours? Or is the session only abandoned after 2 hours if, in that time, I haven't requested anything from the server?

Thanks in advance

Reply With Quote
  #2  
Old July 16th, 2003, 10:56 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Sessions apply to open and active sessions. Two hours seems a bit `long` for a web application.

Reply With Quote
  #3  
Old July 16th, 2003, 10:59 PM
Miss K. Miss K. is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Australia
Posts: 20 Miss K. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 32 sec
Reputation Power: 0
Weelll, its not a web application as such

Its a time recording system for where I work - approx 50 users, that is accessed via our Intranet

The 2 hour timeout was aimed at encouraging people to only log in when they are using it rather than have it sitting idle all day....I just wanted to clarify how the timeout works, whether it is a 2 hr limit clear and simple or if it is longer if it is constantly active

Reply With Quote
  #4  
Old July 17th, 2003, 12:10 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,712 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 47 m 6 sec
Reputation Power: 688
If you set a session timeout either by code or through the IIS service manager, the timeout period refers to the length of time since the last activity that's seen by the server. If you had an automatic meta refresh of 5 or 10 minutes in your pages, the session will never time out because every time the server gets another page request it resets the timeout timer.

Reply With Quote
  #5  
Old July 17th, 2003, 04:08 AM
rgdubey rgdubey is offline
I am here to share knowledge
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: India
Posts: 83 rgdubey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Whenever you make a page request from server, server sets a default session timeout of 20 minuts if you did not set to some other time i.e
session.timeout=30
timeout can only be set in minuts not in hours

if there is an inactivity in the page for more than the set timeout then session gets expired

if you want more info abt it please post another reply
__________________
Rahul

Small things lead to perfection and perfection is not a small thing.

Reply With Quote
  #6  
Old July 17th, 2003, 04:09 AM
Agarash Agarash is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: South Africa
Posts: 53 Agarash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 35 sec
Reputation Power: 6
yeah, i struggled with sessions recently, and i came to the conclusion NOT to use them, its my personal opinion.

Reply With Quote
  #7  
Old July 17th, 2003, 04:29 AM
rgdubey rgdubey is offline
I am here to share knowledge
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: India
Posts: 83 rgdubey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Agarash, you are wrong. Session is the best thing provided in ASP it depends upon you how you use that. my several sites are running on sessions only and they are running fine

Reply With Quote
  #8  
Old July 17th, 2003, 04:38 AM
Agarash Agarash is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: South Africa
Posts: 53 Agarash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 35 sec
Reputation Power: 6
yeah well, the thing is, i guess it depends on what you need to do. i wanted someting more permanent, so application variables was much better for me, and session variables will timeout....sooner or later.

Reply With Quote
  #9  
Old July 17th, 2003, 04:41 AM
rgdubey rgdubey is offline
I am here to share knowledge
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: India
Posts: 83 rgdubey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Yup, it is how you use it, it depends upon what you need to do

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Session Timeout


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway