HTTP headers

Results 1 to 4 of 4

Thread: HTTP headers

  1. #1
    Trish Guest

    Default HTTP headers

    Can anyone tell me why I get the error:<BR>The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content. <BR>The error points to a Response.Redirect line in my code.<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: HTTP headers

    Hi,<BR><BR>You need to put this &#060;%Response.Buffer = True%&#062;<BR><BR>line of code after your <BR><BR>&#060;%@ Language=VBScript %&#062;<BR>&#060;%Option Explicit%&#062;<BR><BR>Response.Buffer = true, buffers all the information ready to send before the HTML headers are written. Without this the &#060;HTML&#062; etc code is written before the script has had time to execute.<BR><BR>You will find that it will work if you put Response.Buffer = True<BR>where i stated.<BR><BR>James

  3. #3
    Trish Guest

    Default RE: HTTP headers

    Thank you, James, it worked!

  4. #4
    Trish Guest

    Default Thank you, James, it worked!

    Thank you, James, it worked!

Posting Permissions

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