The roots of education are bitter,
but the fruit is sweet.
Home   News   Courses   Seminars   Templates   Help   TechHelp   Forums   Order   Contact   Logon  
Home > Forums > ASP
Active Server Pages Forum

Welcome to the ASP Forum. I love Classic ASP. My whole web site is built with that, Javascript, and of course HTML from scratch. Post your questions here. Feel free to ask about ASP.NET too. I'm not an expert (yet) but I can make my way around it, and yes, I'm brushing up my skills to I can prepare some ASP.NET lessons soon.

This forum is for everyone to read but only students (paid customers) can post here. If you'd like to become a student, you can watch ASP Beginner Level 1 for free, and then purchase Level 2 for just $1.00 here. After you create a logon, you will have full access to the Forums.

Subscribe to this forum and receive an email update whenever new posts are added. You will also be notified by email if any conversations you are involved in receieve new comments. Yes, even non-students can subscribe to update notifications.

Click Here to Post a comment and start a new discussion!

Session Variable Timeout Link 
7 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!

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.
Add a Reply

Show All Comments

Post a New Comment or Question
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Account Login
Online Theater
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Waiting List
Production Schedule
Collapse Menus
Live Chat
Customer Support
WalkThru Tutorials
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
MYOLP Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Live Chat
General Info
Support Policy
Contact Form
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

YouTube Channel    LinkedIn

Blog RSS Feed   
Keywords: asp forum active server pages  PermaLink