Results 1 to 2 of 2

Thread: Response.Redirect

  1. #1
    Nurice Guest

    Default Response.Redirect

    Help! It probably is so painfully obvious, but I don&#039t get what&#039s going on. My Response.Redirect doesn&#039t work- it replies with the error<BR><BR>"Response object error &#039ASP 0156 : 80004005&#039 <BR><BR>Header Error <BR><BR>/hogwarts/AddUser.asp, line 33 <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>In other words what? What headers do I need to add/remove?<BR>Thx<BR>Nurice

  2. #2
    Join Date
    Dec 1969

    Default RE: Response.Redirect

    The response.redirect has to been written before any html<BR><BR>but if you are doing a redirect you shouldn&#039t need any html unless you are using an If statement<BR><BR>&#060;%<BR>If Something Then<BR>response.redirect"somepage"<BR>Else<BR>%&# 062;<BR>html code<BR>&#060;%End If%&#062;

Posting Permissions

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