C
Carl
for security purposes how can i set the requested page to expired or is set
to inactive, after a period of time.
to inactive, after a period of time.
Carl said:where can i put the tags? i have try the syntax for Reponse.Expires
[=Number] and even Reponse.ExpiresAbsolute but it seems that page is still
active.
thanks.
Steven Burn said:Response.Expires <when>
http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_vbom_resope.asp
--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
is
set
Perhaps you're not understanding the response.expires thing. That's for
controlling caching, not for disabling access to a page.
You can do something like:
<% If Now() > #2004-02-15# Then Response.Write "This page is no longer
available." : Response.End %>
Evertjan. said:Perhaps you're not understanding the response.expires thing. That's for
controlling caching, not for disabling access to a page.
You can do something like:
<% If Now() > #2004-02-15# Then Response.Write "This page is no longer
available." : Response.End %>
If the page is expired [after the 15th],
the file content can just be:
This page is no longer available.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.