UNKNOWN '************************************** ' Name: A better response.redirect ' Description:The response.redirect meth ' od is great for moving a user from one p ' age to another. However, it does have on ' e major limitation--you can only use it ' if absolutely nothing has been written t ' o the page. Sometimes, you actually do w ' ant to write something to the page and t ' hen redirect it, for example when displa ' ying the status of an operation. In this ' case, the following JavaRedirect functio ' n comes in handy. It requires a Java com ' patible browser. (Note:this script has b ' een changed to incorporate Lewis Moten's ' helpful suggestions). ' By: Ian Ippolito (psc) ' ' ' Inputs:None ' ' Returns:None ' 'Assumes:None ' 'Side Effects:None 'This code is copyrighted and has limite ' d warranties. 'Please see http://www.Planet-Source-Cod ' e.com/xq/ASP/txtCodeId.0/lngWId.4/qx/vb/ ' scripts/ShowCode.htm 'for details. '************************************** sub JavaRedirect (strURL) 'Response.Write "redirect to:" & strURL %&gt; <script language="JavaScript"> <!-- window.location.href = '<%=URL%>'; //--> </script> &lt;% end sub