Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2005
    Posts
    735
    Thanks
    4
    Thanked 1 Time in 1 Post

    WHat is "http headers"?

    The redirect page is giving error.
    UPDATE insertanswer SET passages = "God created" WHERE [id] = 1;
    UPDATE insertanswer SET passages = "there be ligh" WHERE [id] = 3;

    Response object error 'ASP 0156 : 80004005'

    Header Error

    /wheelofgod/pageing4.asp, line 76

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

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    What code is on line 76? One of those two SQL statements? Do they not have any quotes around them or anything? What are you trying to do with them? I think it'll probably be useful if you posted the rest of your ASP.

  • #3
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    478
    Thanks
    0
    Thanked 2 Times in 2 Posts
    And the rule is basically that you can't write to the page before doing a Response.Redirect.
    J. Paul Schmidt
    www.Bullschmidt.com - Freelance Web and Database Developer
    www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips


  •  

    Posting Permissions

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