Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Response Object Error.......Help!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

miles88
Starting Member

1 Posts

Posted - 11 June 2001 :  08:29:17  Show Profile
Response object error 'ASP 0156 : 80004005'

Header Error

/test/admin_home.asp, line 103

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


[black]I keep getting this message when I try to run the admin_home.asp page. What could be wrong?

line 103 reads
<% Response.Redirect "admin_login.asp" %>

I'd appreciate any help you can give me
thanks.

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 11 June 2001 :  08:54:02  Show Profile  Visit Kat's Homepage
Chances are you have got some HTML code before line 103 - this will have been rendered by the browser hence the header error. You can't do a redirect if you have already written HTML to the browser.

You need to make sure the redirect check is done before the start of the HTML code.



KatsKorner
Go to Top of Page

RaiderUK
Average Member

United Kingdom
577 Posts

Posted - 11 June 2001 :  10:26:40  Show Profile  Send RaiderUK a Yahoo! Message
or you can add a
<% Response.Buffer = True %>
to the top of the page.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07