Trouble with Response.Redirect and MIME type

Results 1 to 3 of 3

Thread: Trouble with Response.Redirect and MIME type

  1. #1
    BigSmurf Guest

    Default Trouble with Response.Redirect and MIME type

    Hi,<BR><BR>I&#039m trying to force a redirection to a URL dynamically built from a form field and additional parameters. The URL is stored in a variable adequately called URL.<BR>Then, the instruction Response.Redirect URL causes an ASP compile error because the header was not resent or something. I tried Response.ContentType = "text/HTML" on the 2nd line of the ASP page but it still doesn&#039t work.<BR>What needs to be done here?<BR><BR>Thanks to anyone for any help !!<BR><BR>Big Smurf

  2. #2
    Join Date
    Dec 1969
    Posts
    308

    Default RE: Trouble with Response.Redirect and MIME type

    Try putting <BR>&#060;% response.buffer = true &#037;&#062;<BR>on the very top of you page and at the very bottom put<BR>&#060;% response.end &#037;&#062;<BR><BR>Hope that helps!<BR>-Brad

  3. #3
    Big Smurf Guest

    Default RE: Trouble with Response.Redirect and MIME type

    Yes it does help, thanks a lot!!<BR><BR>Big Smurf

Posting Permissions

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