Results 1 to 2 of 2

Thread: Redirect

  1. #1
    C.Raghuraja Guest

    Default Redirect

    When used to redirect my page to another asp page but it gives http page has already sent. when i used include file it happen. if i remove it then ok. what can do?

  2. #2
    Gat Fary Guest

    Default RE: Redirect

    Hi,<BR><BR>Try this, i think it might help,<BR><BR>At the top of your page, after the<BR><BR>&#060;%@ Language=VBScript %&#062; add these following to lines.<BR><BR>&#060;%Option Explicit<BR>Response.Buffer = true%&#062;<BR><BR>Option Explicit - this insures that all variables are delcared before you use them. This will not solve your problem but speed your code up slioghtly.<BR><BR>Response.Buiffer=True - this should solve your problem. It stops the HTTP headers being sent to the browser before the code has had a chance to execute. I nearly always use this at the top of my code.<BR><BR>Try it, it should work. If not let me know.<BR><BR>Good luck<BR><BR>Gat Fary

Posting Permissions

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