Wrox Home  
Search P2P Archive for: Go

  Return to Index  

proasp_howto thread: redirection problem in ASP


Message #1 by "Phil Perks" <philp@w...> on Mon, 7 Aug 2000 14:8:29
Do you used Response.Clear before Response.Redirect,

I worked with

Response.Buffer = True

<%
ASP stuff
%>

Response.Clear
Response.Redirect "sdsfsdfsfs.asp"

It worked fine.

Aude
----- Original Message -----
From: Phil Perks <philp@w...>
To: How To <proasp_howto@p...>
Sent: Monday, August 07, 2000 2:00 PM
Subject: [proasp_howto] redirection problem in ASP


> ----Original Message-----
> From: SuhailK@n... [mailto:SuhailK@n...]
> Sent: 27 July 2000 15:07
> To: sophiee@w...
> Subject: redirection problem in ASP
>
>
> Dear Sohpie
>
> I'm working on development of workflow application using ASP under IIS4
> and
> SQL6.5. I have come to you with an ASP problem.
>
> My problem is that whenever I use IE5 as my client the response.redirect
> command works fine but the same command gives following error on IE4
> browser
> window while executing response.redirect.
>
> ----------- error starts here  -------
> HTTP Error 400
>
> 400 Bad Request
>
> Due to Malformed syntax the request could not be understood by the server.
> The client should not repeat the request without modification.
> ----------- error end here  -------
>
> My code which gives this error on IE4 is given below
>
> Response.Redirect "http://" & HostName &
> "/workflow/Forms/Inbox/hare.asp?msg=Request Rejection saved successfully"
>
> The asp file contains following code at the top of the page
>
> <%@ language=vbscript %>
> <%option explicit%>
> <%Response.Buffer = true%>
>
> Kindly let me know what could be the problem at earliest.
>
> Thanking you in anticipation
>
> Suhail
> Delhi - India
>
>
> ---
> You are currently subscribed to proasp_howto.
>


  Return to Index