password-protected web page

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>
 
S

Stefan B Rusynko

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>
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top