Header Error

Results 1 to 3 of 3

Thread: Header Error

  1. #1
    Tony Guest

    Default Header Error

    In attampting to re-direct to another page in my app, I come up with the following error:<BR><BR>"The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content."<BR><BR>If I remove the response.redirect, it works like a champ. DO I need to write a response.addheader, or is there another way around this?<BR>

  2. #2
    Steve Cimino Guest

    Default RE: Header Error

    Do a response.buffer = true at the top of your page. You&#039;ve already written to the browser, so you can&#039;t redirect at that time.<BR><BR>There&#039;s an FAQ on this site somewhere about this...

  3. #3
    Tony Guest

    Default N/M, found it on aspfaqs...

    I don&#039;t know why I missed it the first time...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts