'************************************** ' 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 '************************************** sub JavaRedirect (strURL) 'Response.Write "redirect to:" & strURL %> <SCRIPT language="JavaScript"> <!-- window.location.href = '<%=URL%>'; //--> </SCRIPT> <% end sub