Results 1 to 3 of 3

Thread: Easiest question ever

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2001
    Posts
    118

    Easiest question ever

    Hi People... I get this error "The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content. "

    I know EXCALTY what is , but how can I prevent it? Response.flush? I can't remeber how to skip it.

    How do I pass this error ..

    Thanks!

  2. #2
    Addicted Member MikeHost's Avatar
    Join Date
    Nov 2000
    Location
    Missouri
    Posts
    175
    When I get this error its because I've written out some HTML then try to write out a cookie or try to do a Response.Redirect. The only way I can avoid it is to arrange the code so that I write my HTML after those other writes.
    <<<<>>>>

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Response.Buffer = True at the top of the page, but this is the default for IIS 5 and up.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

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



Click Here to Expand Forum to Full Width