473,385 Members | 1,570 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,385 software developers and data experts.

make a page invisible to the user until certain time?

Are there any settings to make a page invisible to the user until certain
time? For example, I want mypage.html is invisible to the user until
12:00am. But mypage.html is already in the IIS server.

any ideas? thanks!
Jul 19 '05 #1
3 1653
Matt wrote on 07 sep 2004 in microsoft.public.inetserver.asp.general:
Are there any settings to make a page invisible to the user until certain
time? For example, I want mypage.html is invisible to the user until
12:00am. But mypage.html is already in the IIS server.


What an amount of crosspost NGs! I will only address the classical ASP
question and follow up accordingly.

myPage.asp:

<%
if hour(time())<12 then response.redirect "/404.asp"
%>
<html>
Here follows the page

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 19 '05 #2
Set the file to have a hidden attribute so that IIS won't serve it. Remove
the hidden attribute whenever you want.

This is really a publishing feature of whatever web document management
system you are using. IIS is merely serving files.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Matt" <ma*******@hotmail.com> wrote in message
news:uP**************@TK2MSFTNGP14.phx.gbl...
Are there any settings to make a page invisible to the user until certain
time? For example, I want mypage.html is invisible to the user until
12:00am. But mypage.html is already in the IIS server.

any ideas? thanks!

Jul 19 '05 #3
Whose 12am would you like to use - the web server or the client? There are
24 (give or take, due to wacky US Daylight Savings Time rules) of them you
know. 12am on my server is 8am in Italy.

What do you mean by invisible?

Bob Lehmann

"Matt" <ma*******@hotmail.com> wrote in message
news:uP**************@TK2MSFTNGP14.phx.gbl...
Are there any settings to make a page invisible to the user until certain
time? For example, I want mypage.html is invisible to the user until
12:00am. But mypage.html is already in the IIS server.

any ideas? thanks!

Jul 19 '05 #4

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

Similar topics

3
by: Susan Bricker | last post by:
Greetings. I have three forms that are open at the same time. They are related and cascading. The first form (frmEventAdd) is the anchor. Each event can have many Trials. The second form is...
2
by: Matt | last post by:
Are there any settings to make a page invisible to the user until certain time? For example, I want mypage.html is invisible to the user until 12:00am. But mypage.html is already in the IIS server....
6
by: Selden McCabe | last post by:
I have a form with a bunch of image buttons. When the user moves the mouse over a button, I want to do two things: 1. change the Imagebutton's picture, and 2. make another control visible. I'm...
69
by: kabradley | last post by:
Alrighty Guys and Gals, I have another question that I hope you all can help me with. I have a report that uses a cross-tab query as its record source. This cross-tab query is getting all of its...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...

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.