password-protected web page

  • Thread starter Thread starter marc
  • Start date Start date
M

marc

I did excatly what they told me to do at http://support.microsoft.com/kb/825498
but my logon.asp does not want to load. I get a Http 500 server problem.
What could be wrong. Here follows my code on that page:
<% @language="vbscript" %>
<html>
<head><title>Home Page</title></head>
<body>
<h3>Home Page</h3>
<p>You are logged on as:
<%
If Len(Session("UID")) = 0 Then
Response.Write "<b>You are not logged on.</b>"
Else
Response.Write "<b>" & Session("UID") & "</b>"
End If
%>
</p>
<ul>

<li><a href="logon.asp">Password-Protected Page</a></li>
<li><a href="nonsecure.asp">Nonsecure Page</a></li>

</ul>
</body>
</html>
 
500 is a server host permission problem
Check w/ your host that they support ASP

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I did excatly what they told me to do at http://support.microsoft.com/kb/825498
| but my logon.asp does not want to load. I get a Http 500 server problem.
| What could be wrong. Here follows my code on that page:
| <% @language="vbscript" %>
| <html>
| <head><title>Home Page</title></head>
| <body>
| <h3>Home Page</h3>
| <p>You are logged on as:
| <%
| If Len(Session("UID")) = 0 Then
| Response.Write "<b>You are not logged on.</b>"
| Else
| Response.Write "<b>" & Session("UID") & "</b>"
| End If
| %>
| </p>
| <ul>
|
| <li><a href="logon.asp">Password-Protected Page</a></li>
| <li><a href="nonsecure.asp">Nonsecure Page</a></li>
|
| </ul>
| </body>
| </html>
|
 
Back
Top