473,387 Members | 1,650 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Display Expired Page

for security purposes how can i set the requested page to expired or is set
to inactive, after a period of time.


Jul 19 '05 #1
5 1671
Response.Expires <when>
http://msdn.microsoft.com/library/en...bom_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)
Carl <c@yahoo.com> wrote in message
news:uL**************@TK2MSFTNGP11.phx.gbl...
for security purposes how can i set the requested page to expired or is set to inactive, after a period of time.


Jul 19 '05 #2
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" <nobody@PVT_it-mate.co.uk> wrote in message
news:eZ**************@TK2MSFTNGP11.phx.gbl...
Response.Expires <when>
http://msdn.microsoft.com/library/en...bom_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)
Carl <c@yahoo.com> wrote in message
news:uL**************@TK2MSFTNGP11.phx.gbl...
for security purposes how can i set the requested page to expired or is

set
to inactive, after a period of time.



Jul 19 '05 #3
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 %>

--

Ray at home
Microsoft ASP MVP
"Carl" <c@yahoo.com> wrote in message
news:O6****************@TK2MSFTNGP12.phx.gbl...
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" <nobody@PVT_it-mate.co.uk> wrote in message
news:eZ**************@TK2MSFTNGP11.phx.gbl...
Response.Expires <when>
http://msdn.microsoft.com/library/en...bom_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)
Carl <c@yahoo.com> wrote in message
news:uL**************@TK2MSFTNGP11.phx.gbl...
for security purposes how can i set the requested page to expired or
is set
to inactive, after a period of time.




Jul 19 '05 #4
Ray at <%=sLocation%> [MVP] wrote on 13 feb 2004 in
microsoft.public.inetserver.asp.general:
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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #5
I think the OP was looking for a way to disable the pages without having to
maintain the contents of them. At least, that was what I assumed. If
that's not the case, then I think the answer would be to just delete the
files. :]

Ray at work

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
Ray at <%=sLocation%> [MVP] wrote on 13 feb 2004 in
microsoft.public.inetserver.asp.general:
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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Dave Smithz | last post by:
Hi, In summary: I want to a form to submit information via a HTTP POST, however, when using Internet Explorer I want to be able to use the back button and all the information retained....
3
by: Ed Burns | last post by:
Hi. I am trying to disable a user from going back to a previous page and displaying information previously shown. I want to give them the typical "Page has Expired" warning message. I am using Win...
0
by: Rob Meade | last post by:
Hi all, Can anyone post some code that will expire a page immediately and prevent caching, so if my users submits data on a form, a thank you page appears, if they then go foward a page and then...
2
by: moondaddy | last post by:
Often when browsing my site and using the forward and back buttons I get the err msg "Page has Expired " My pages are blank with a user control for the content. Is there something I need to be...
1
by: tshad | last post by:
This is driving us crazy. And it only seems to happen in IE. Mozilla and Firefox don't have this problem. We get this message all the time, but I can't figure out why as it is not consistant...
17
by: Riaan | last post by:
Hi guys! I have an issue that needs urgent resolution. Imagine this scenario: You have: 1 production server running Windows Server 2003, IIS6 and an instance of MSDE 2000. There is an...
6
by: yk | last post by:
Hi, Is it a technique available in html/javascript in order to display same image many many times on a same page? Because of a large page loading I am looking for a way not to have same...
4
by: Sarvesh997 | last post by:
Hi, I have one problem regarding search & search results page in IE & Firefox. A code in both pages written in Php & database in MySQL Problem : When i selected one or more checkbox &...
5
by: =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== | last post by:
I have a site which I secure with forms authentication. When the user's sign on and hit one of the secure pages, I have this line in my code to ensure that the browser does not cache the page;...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.