Link to home
Start Free TrialLog in
Avatar of ravishvir
ravishvir

asked on

ASP Rpogramming

ASP code for expiring a web page
Avatar of mozkill
mozkill

to expire a web page, the browser needs to hold a server side session object, which is created with a Session.onStart method in a global.asa file.  Furthermore, IIS can be configured in the advanced web server properties for variable length of page timeout.
ASKER CERTIFIED SOLUTION
Avatar of son_robin
son_robin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Or you can set Response.expires = -1
the bugger will then NEVER expire :)

Not quite what you wanted, but handy to know.
thats good info also, but don't forget to NOTE the distiction between the "ASP project IIS session properties for session expiration time" AND the "ASP object expire using the Response.expires = 10" .
No comment has been added lately.
To cleanup this TA, I will recommend to moderators that this question is:

*** Answered by: son_robin ***

Please leave any comments here within the next seven days, or finalize the question if you own it
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
peterchen
EE Cleanup Volunteer
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange