Computer Learning Zone CLZ Access Excel Word Windows

A man who dares to waste one hour of time has not discovered the value of life.

-Charles Darwin
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Active Server Pages Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Session Variable Timeout
MUBEEZI M 

13 years ago
Dear Richard,

Web browsers seem to have a reliable inbuilt mechanism such that after 20min of browser inactivity, the session variable becomes blank. How can i catch that moment before the user's session variable becomes blank? I would like to trigger an event to fire either becomes blank or just after its blank.
Thank you!
MICAH


Reply from Richard Rost:

Session variables are actually stored on the SERVER, not in the browser. If the server doesn't see activity from you in 20 minutes it clears your variables to save memory. If this is YOUR site, you can prevent that from happening with an inline frame that automatically refreshes every 5, 10, or 15 minutes to keep the user's session alive on the server. I do this on my site. If you look closely at the bottom of my site, there's an inline frame where the copyright notice is. That keeps people from getting logged out of the Online Theater when they're watching classes (watch a 15 minute lesson, go get coffee, and you get logged out because the server hasn't seen you in over 20 minutes - the video itself is playing from your browser cache after it downloads). Note that you can increase this timeout in your ASP code with the Session.Timeout property, but if you have a lot of concurrent users, this can cause your server to run out of memory.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Active Server Pages Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/18/2026 5:33:45 AM. PLT: 1s