如何使用ASP经典重定向 [英] How to redirect with asp classic
本文介绍了如何使用ASP经典重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想重定向从一个网址到另一个..:
http://shemale.deals.com/http://male.deals.com/
我怎样才能做到这一点的URL变化到新的URL在浏览器中,并用页面直行到新的URL,而不去旧的URL,使刷新?
我看了看,通过在互联网上的一些剧本,他们没有工作,我也不知道ASP经典..所以我正在努力使该重定向工作
解决方案
<%
Response.Redirect的http://www.sitename.com
%GT;
和加上所有的查询字符串浏览器URL有:
<%
Response.Redirect的http://www.sitename.com/? &安培;的Request.QueryString
%GT;
I want to redirect from one url to another..:
http://shemale.deals.com/
http://male.deals.com/
How can I achieve that with the url changing to the new url in the browser and with a page going straight to the new url without going to the old url and making a refresh?
I looked through some scripts on the internet and they didnt work, I also dont know asp classic.. so i am struggling to make that redirect work
解决方案
<%
Response.Redirect "http://www.sitename.com"
%>
And plus for "all" the querystrings browser url has:
<%
Response.Redirect "http://www.sitename.com/?" & Request.QueryString
%>
这篇关于如何使用ASP经典重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文