D
Dragonscar
I apologize if you've been asked this dozens of times, but I can't find the
answer. My host does NOT allow more than one FP user per site and they don't
have cPanel. So how can I password protect a subweb or folder or group of
pages or whatever? I do NOT need to store multiple users and passwords, but
I don't want it to be visible in "View Source" either. I simply need to
establish a single user with a single password.
I've tried using this ASP script above the <html> with an If-Then-Else.
<%
<script="Login"
If Request.Form("username") = "Usrnme" AND Request.Form("password") =
"stdpwd" Then
Response.Redirect "http://www.my_web/private_section/_home.htm"
Else
Response.Redirect "http://www.my_webt/bogus.htm"
End If
End script>
%>
But I don't know how to call it from the "Login" button on the html page.
Also, an FP interactive button does not seem to recognize the page if I call
it login.asp, but it goes there if it is named login.htm.
I've searched Help, Microsoft, the web, etc. I get bits and pieces of info,
but no info as to how I'm supposed to string it together to make it work.
So my questions are: is the script wrong? If it's okay, where and how do I
call it in the form? Is there anything else necessary to make it work and
keep it relatively secure.
Thank you,
Laura Douglas
answer. My host does NOT allow more than one FP user per site and they don't
have cPanel. So how can I password protect a subweb or folder or group of
pages or whatever? I do NOT need to store multiple users and passwords, but
I don't want it to be visible in "View Source" either. I simply need to
establish a single user with a single password.
I've tried using this ASP script above the <html> with an If-Then-Else.
<%
<script="Login"
If Request.Form("username") = "Usrnme" AND Request.Form("password") =
"stdpwd" Then
Response.Redirect "http://www.my_web/private_section/_home.htm"
Else
Response.Redirect "http://www.my_webt/bogus.htm"
End If
End script>
%>
But I don't know how to call it from the "Login" button on the html page.
Also, an FP interactive button does not seem to recognize the page if I call
it login.asp, but it goes there if it is named login.htm.
I've searched Help, Microsoft, the web, etc. I get bits and pieces of info,
but no info as to how I'm supposed to string it together to make it work.
So my questions are: is the script wrong? If it's okay, where and how do I
call it in the form? Is there anything else necessary to make it work and
keep it relatively secure.
Thank you,
Laura Douglas