cyprus106
Programmer
- Apr 30, 2001
- 654
I've got a login form on my homepage, default.asp, that has a username input, password input, and the submit button. I submit to an asp page called verifyLogin.asp...
From the top of the form:
Response.Write "<form method='POST' action='verifyLogin.asp'>"
From verifyLogin, I've got:
<% response.buffer = true %>
at the top, and then lower in the page, it logs the user and is supposed to redirect back to the hone page, default.asp, like so:
Response.redirect "default.asp"
but it doesn't redirect. It gives me error
Response object error 'ASP 0156 : 80004005'
Header Error
/verifyLogin.asp, line 50
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
I'm new at this ASP thing and I have no idea how to fix this. I haven't changed the header, it just goes right back to the homepage, no extra header information, no nothing. What's the problem??
Thanks a lot... Cyprus
From the top of the form:
Response.Write "<form method='POST' action='verifyLogin.asp'>"
From verifyLogin, I've got:
<% response.buffer = true %>
at the top, and then lower in the page, it logs the user and is supposed to redirect back to the hone page, default.asp, like so:
Response.redirect "default.asp"
but it doesn't redirect. It gives me error
Response object error 'ASP 0156 : 80004005'
Header Error
/verifyLogin.asp, line 50
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
I'm new at this ASP thing and I have no idea how to fix this. I haven't changed the header, it just goes right back to the homepage, no extra header information, no nothing. What's the problem??
Thanks a lot... Cyprus