[thelist] ASP response.redirect bug

Amazon Paulo Amazon.Paulo at Amazoniacelular.com.br
Thu Jun 6 09:27:17 CDT 2002


>Before I go launching into another long re-coding and debugging exercise
>to use Server.Transfer I would like all your feedback and relevant
>experience with this problem if any.  Can anyone think of another work
>around for Mac IE 4+?

Once I had a serious problem with response.redirect. Having no server
workaround, I decided to use a client one.

The old script:
====
Call DoThis
Call DoThat
Call Foo
Response.Redirect "anotherpage.asp?blah=" & strBlah
' End of script
====

The new script:
====
Call DoThis
Call DoThat
Call Foo
%>
<Script language=javascript>
window.location = 'anotherpage.asp?blah=<%=strBlah%>'
</Script>
<%
' End of script
%>

I believe this will work for you, too.

/Paulo Guedes



More information about the thelist mailing list