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!

Can anyone tell me what this error means? 1

Status
Not open for further replies.

TonyU

Technical User
Feb 14, 2001
1,317
US
Response object error 'ASP 0156 : 80004005'

Header Error

/site/foler/view.asp, line 205

Line 205:
if InStr (views("reservedby"),response.cookies ("firstname")) then
response.write &quot;<a href=&quot;&quot;editrecords.asp?id=&quot; & views(&quot;id&quot;) & &quot;&quot;&quot;>Edit Record</a>&quot;&quot;&quot;
else
response.write &quot;&quot;
end if


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


It was working a minute ago but now it's not.





[tt]
&quot;The only ideas that will work for you are the ones you put to work.&quot;
[/tt]

banana.gif
rockband.gif
banana.gif

 
Try

if InStr (views(&quot;reservedby&quot;),Request.cookies (&quot;firstname&quot;)) > 0 then
response.write (&quot;<a href='editrecords.asp?id=&quot; & views(&quot;id&quot;) & &quot;'>Edit Record</a>&quot;)
else
response.write (&quot;&quot;)
end if


Kris
 
Perfect, tyvvm
[tt]
&quot;The only ideas that will work for you are the ones you put to work.&quot;
[/tt]

banana.gif
rockband.gif
banana.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top