hej! Om du använder Request.form("username") på sidan validate.asp så fungerar det kanske?? Du måste ju skicka ett värde dit.. jag har också haft problem med just "username". Jag löste det genom att döpa fältet till något annat.response.write request.form
vad gör jag för fel då jag inte får response.write(request.form("username")) att funka.
hoppas på hjälp!
/Tommy
<form action="/smsadmin/validate.asp" method="Post">
<div align="center" class="txt">
<%
If Session("allow") = False Then
Response.Write "LOGGA IN"
Response.Write "<br>"
Response.Write "<br>"
Response.Write "<table width="""" border=""0"" cellpadding=""0"" cellspacing=""0"" ><tr>"
Response.Write "<td></td>"
Response.Write "<td width=""""> <input name=""username"" type=""text"" class=""txtinput"" id=""username3"" value=""Mobilnummer"" size=""10""></td>"
Response.Write "</tr>"
Response.Write "<tr>"
Response.Write "<td></td>"
Response.Write "<td> <input name=""password"" type=""text"" class=""txtinput"" id=""password3"" value=""Sms kod"" size=""10""></td>"
Response.Write "</tr>"
Response.Write "<tr>"
Response.Write "<td><br><br></td>"
Response.Write "<td> <input name=""submit"" type=""submit"" class=""knapp"" value=""Logga in""></td>"
Response.Write "</tr>"
Response.Write "</table>"
Response.Write" <img src=""/img/dialog-information.png"" border=""0"">"
Else
Response.Write "<br>"
Response.Write" <table width=""100"" border=""0"" cellspacing=""0"" cellpadding=""0"" class=""body"">"
Response.Write" <tr>"
Response.Write" <td><img src=""/img/online.gif"" width=""100"" height=""12"" border=""0""></td>"
Response.Write" </tr>"
Response.Write" <tr>"
Response.Write" <td></td>"
Response.Write" </tr>"
Response.Write" <tr>"
Response.Write" <td>"
Response.Write "du lommer att loggas ut:<br>"
response.write dateadd("n", 10, time)
Response.Write" </td>"
Response.Write" </tr>"
Response.Write" </table>"
response.write(request.form("username"))
Response.Write "<br>"
End If
%>
</div>
</form>
Sv: response.write request.form
Sv: response.write request.form