Results 1 to 3 of 3

Thread: Response.Redirect

  1. #1
    Manoj Guest

    Default Response.Redirect

    I am getting an error message when I try to re-direct the user to a differnt page after my processing.<BR><BR>Here is the error message<BR>--------------------<BR>Response object error &#039ASP 0156 : 80004005&#039 <BR><BR>Header Error <BR><BR>/NewProject/Control.asp, line 233 <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>-------------------------<BR><BR>I tried to fix this by setting "Response.Buffer=True", but it didn&#039t fix the problem !!<BR><BR>Any help will be appreciated.<BR><BR>Thanks<BR>Manoj<BR><BR><BR>

  2. #2
    Roose Guest

    Default RE: Response.Redirect

    You should put the Response.Buffer = True on the very first line of your page, or after the line &#060;%@ Language = "VBScript" %&#062;

  3. #3
    Espen ( Guest

    Default RE: Response.Redirect

    It is also important that you don&#039t write any html-code BEFORE you write your response.redirect-code.

Posting Permissions

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