Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTP Header Error. 1

Status
Not open for further replies.

SugarBinky

Programmer
Dec 15, 2000
3
US
Response object error 'ASP 0156 : 80004005'

Header Error

/eMaint/wr.asp, line 185

The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.

The line I get the error on is
Response.Cookies("wonum") = Wonum

Any suggestions would be appreciated.
 
Frsitly, have you set
Code:
Response.Buffer = True
?
Secondly, if I remember rightly I had this problem and the onlyt way to solve it is to send nothing to the browser before you issue
Code:
Response.Cookies
command.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
yes, you must write cookies before any other headers are written to the browser.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top