Here's the fix that Orlando provided -
There are three files you'll need to get this to work - a frameset (login) page, a username/password page, and the protected page. Let's give these pages filenames now, just for this example:
Frameset page: members.html
Username/password page: unpw.html
Protected Page: authorized.html
Set Up unpw.html
First, you'll need to set up the unpw.html page. The password wizard actually creates this page for you, or you can embed the login box on any page you created. Once you've designed this page, save the file.
Set Up members.html
This is the page with the frameset. Make it read something like this (note the location of unpw.html here!):
<html>
<head>
<title>TITLE GOES HERE</title>
</head>
<frameset rows="*,100%" border=0>
<frame name=hidden src=hidden.html marginwidth=0 marginheight=0 scrolling=no frameborder=0>
<frame name=visible src=unpw.html marginwidth=0 marginheight=0 scrolling=auto frameborder=0>
</frameset>
</html>
Save this file.
Set Up authorized.html
This is the protected page. At the top of the page, make it read something like this (note the location of members.html here!):
<html>
<head>
<title>YOUR TITLE GOES HERE</title>
<script language=javascript>
<!--
if (parent.frames.length==0)
window.location.replace("members.html")
// -->
</script>
</head>
<body>
...THE REST OF YOUR PAGE GOES HERE...
Once you're done with that, save the file.
Now if you upload all these files, you should direct your users to members.html to force a login.
This works - YEA!