Return to the previous page, usually used after judging whether the information is submitted completely <%
'*********************************
'Function: GoBack()
'Parameters: None
'Author: Alixi
'Date: 2007/7/13
'Description: Return to the previous page, generally used after judging whether the information is submitted completely
'Example: <%callGoBack()%>
'*********************************
SubGoBack()
Response.write("<script>history.go(-1)</script>")
EndSub
%>
Redirect to another link
<%
'*********************************
'Function: Go(url)
'Parameters: url, relative or absolute path and URL
'Author: Alixi
'Date: 2007/7/13
'Description: Redirect to another link
'Example: <%callGo(http://www.alixixi.com)%>
'*********************************
SubGo(url)
Response.write("<script>location.href('"&url&"')</script>")
EndSub
%>
Specify the number of seconds to redirect another connection
<%
'*********************************
'Function: GoPage(url,s)
'Parameters: url, relative or absolute path and URL; s, jump after time in seconds
'Author: Alixi
'Date: 2007/7/13
'Description: Specify the number of seconds to redirect another connection
'Example: <%callGoPage("http://www.alixixi.com",3)%>
'*********************************
subGoPage(url,s)
s=s*1000
Response.Write"<SCRIPTLANGUAGE=javascript>"
Response.Write"window.setTimeout("&chr(34)&"window.navigate('"&url&"')"&chr(34)&","&s&")"
Response.Write"</script>"
endsub
%>