Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ask a password from a ASP page...
Message
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00322010
Message ID:
00322562
Views:
20
Mike ! I am working on this and somting I do not get. I have a page call http://www.transformation.com/mfug/service.html with this HTML code:

Administrator Password:
{form method=post action=check.asp>{INPUT id=password name=password type=password>
{INPUT id=submit1 name=submit1 type=submit value=Enter...>



And I have the ASP code in the page http://www.transformation.com/mfug/check.asp
The code is:

{%If Request.Form("Password") = "adminxmfug" then
Response.Redirect("http://24.201.127.42/")
else
Response.Redirect("service.html")
End if%>

But when I enter the password it get the error:
Response object error 'ASP 0156 : 80004005' 

Header Error 

/mfug/check.asp, line 10 

The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content. 
What is wrong in my code. Do I need to have a header in my page?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform