I'm trying to set up some restriction on a web page. I have this piece of code:
<%
if time() >= CDate("8:00:00 AM") and time() <= CDate("5:00:00 PM")
.... blab ..blab ...
end if %>
I tested it on the server, it works as expected. But for some unknown reasons, this setting doesn't work for some users. The time I set is on server side and not client side, how come it is still available to some of them ??? Does anyone see what I'm doing wrong here? Thanks.
<%
if time() >= CDate("8:00:00 AM") and time() <= CDate("5:00:00 PM")
.... blab ..blab ...
end if %>
I tested it on the server, it works as expected. But for some unknown reasons, this setting doesn't work for some users. The time I set is on server side and not client side, how come it is still available to some of them ??? Does anyone see what I'm doing wrong here? Thanks.