Please not that I fully understand this is a dumb ass idea, but its not my idea.
We need to deter people visiting a certain page on our site. It’s written in ASP and I don’tknow ASP! Can anyone tell me how I can have a pop up box load when the URL is visited where by people have to enter a username / password.
The user name / password should be stored in the javascript.
(Yes I know)
The only real requirement is that this happen anytime the page is loaded and it stays on that page.
So the page is test.asp – javascript pops up they enter credentials and if right remain on test.asp
Thanks
When you say ASP I assume you mean pre .NET. If so then I think a small change to the VB/HTML in the page would be better. Of course this is only an example and not a very secure one at that – but still it is a little better than a plain JS solution.
Example – thenameofthepage.asp