Where 10 is the number of seconds you wish them to be hanging around for.
However, don't we spend enough time waiting for pages to be loaded without this? Why can't you just redirect as normal? Derren
[Mediocre talent - spread really thin]
Yes, the redirect page is just another asp page, so you can pass as many parameters to it as you like. You can even substitute the urls in the meta tag based on a querystring:
I'm fairly new to this so I apologise for my ignorance/stupidity but basically I have this
<%
Dim Flag
Flag="1"
%>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<META HTTP-EQUIV="Refresh" CONTENT="5;URL=AuthRaise.asp">
<B>You didn't enter the correct username and/or password</B>
%>
I want to add the Flag variable into the redirect so I can read the value on the destination page, tried using the info you sent but couldn't get it to work.
If I undestand this correctly, the purpose of what you are doing is to make sure that the user has to wait a few seconds before they can make a second attempt to login?
If this is the case, then what you are doing is a very good idea. It's a good way to do some basic protection against a Denial of Service attack. Someone tries to tie up the server by having the page keep hitting the server/database until they have caused so much delay that everyone else can't get in. Sometimes a simple 5-10 second delay can disrupt these attacks becuase the script they are running against you, normally isn't set up to handle a delay before it can hit you again.
Very good idea, that more people need to implement.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.