Yes, this would occur. I have come across a sugetsion (which I have put in
test on my website), where you create a folder and a file (which hopefully
are hiiden from the user). The folder name and file name (without extension)
are used as UseID and Password.
This applies only to a single page, although I suppose one could make this
page the parent
This is the code
JS
var request = false
function testForIt()
{
request = true
if (document.images)
document.images["testImage"].src
= document.logon.userid.value + '/'
+ document.logon.password.value + '.gif'
else
loadIt()
return false
}
function loadIt()
{
if (request)
window.location.href
= document.logon.userid.value + '/'
+ document.logon.password.value + '.html'
request = false
}
function failIt()
{
if (request)
alert('Incorrect userid or password - please retype')
request = false
document.logon.password.value = ''
document.logon.userid.value = ''
if (document.images)
document.images["testImage"].src = "images/display/blank.gif"
}
HTML
<form name="logon" action="" onsubmit="return testForIt()">
<table>
<tr>
<td width="10%">UserId:</td><!-- Name of the folder containing the
secured page. -->
<td><input type="text" name="userid" size="12" maxlength="12"></td>
</tr>
<tr>
<td width="10%">Password:</td><!-- Name of the secured page. -->
<td><input type="password" name="password" size="14"
maxlength="12"></td>
</tr>
</table>
<p>
<input type="submit" value="Submit" name="B1">
<!-- Image used for testing. -->
<img border="0" name="testImage" src="images/display/blank.gif"
alt="" width="1" height="1"
onload="loadIt()" onerror="failIt()" >
<input type="reset" value="Reset" name="B2">
<input type="button" value="Go Back"
onclick="history.back()">
</p>
</form>
Try it if you like it
)