Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Response.Redirect & HTTP Headers

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,315
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Response.Redirect & HTTP Headers
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Response.Redirect & HTTP Headers - 8/3/2001 3:46:39 AM   
  jennyd

 

Posts: 6
Score: 0
Joined: 6/1/2001
From: USA
Status: offline
Hi there

I have an .asp page which only has some VBScript in it. It gets called by another page and then redirects at the end to another page - I get the following error (actually I get it quite often when using the Response object)
Would someone be able to explain (or point me towards a resource that does!) what it actually means and how to avoid it??

Response object error 'ASP 0156 : 80004005'

Header Error

nameOfFile.asp, line 3

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

Thanks!
 
 
Post #: 1
 
 Re: Response.Redirect & HTTP Headers - 8/3/2001 3:47:56 AM   
  peach24

 

Posts: 7
Score: 0
Joined: 6/9/2001
From: USA
Status: offline
Jenny,

Put this at the top of your ASP page. It will allow the page to load

<%response.buffer=True%>

(in reply to jennyd)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Response.Redirect & HTTP Headers Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts