ASP Rpogramming

ravishvir
ravishvir used Ask the Experts™
on
ASP code for expiring a web page
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
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.
<%
Response.expires = 10
%>

10 - time in minutes before the page expires
Or you can set Response.expires = -1
the bugger will then NEVER expire :)

Not quite what you wanted, but handy to know.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Commented:
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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial