"Christian Bagger" <Scooter-planet@scooter-planet.dk> wrote in message
news:bcq07f$prj$1@sunsite.dk...
> Jeg er igang med mit design til min side
>
http://www.scooter-planet.dk. Jeg kunne godt tænke mig at lave
> login hvor dan gør jeg det?
<%
strPassword = "lukop"
strUserPassword = Request.Form("strFormPassword")
strError = ""
If Request.Form("IsSubmitted") = "yes" Then
If strUserPassword = strPassword Then
Response.Redirect("xxx.asp") 'send til din egen side
Else
strError = "Forkert password"
End If
End If
%>
<html>
<head>
<title>Administration</title>
</head>
<body>
<form action="default.asp" method="POST">
<table>
<tr>
<td><%=strError%></td>
</tr>
<tr>
<td><input type="Password" name="strFormPassword"> <input
type="Submit" value="Login"><input type="Hidden" name="IsSubmitted"
value="yes"></td>
</tr>
</table>
</form>
</div>
</body>
</html>
--
Mvh / Regards
-=< Christian >=-
What capital has 164 letters in its name? See my web page to find out.
http://www.cmnielsen.dk ICQ: 25308942
" If something's hard to do, then it's not worth doing. Homer J. Simpson"