将Web请求1网站重定向/转移到另一个网站 [英] Redirect/transfer web request 1 web site to another web site

查看:101
本文介绍了将Web请求1网站重定向/转移到另一个网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有4个不同的网络项目,它们在同一个解决方案文件中,取决于我必须将用户重定向到相关项目的登录。我正在使用



这是默认的

Response.Redirect(Default.aspx,false);



这是用于重定向其他网站。



Response.Redirect(http://mysite/Default.aspx,false) ;



这显示错误。无法找到,





即使我已经给出了完整的路径仍然没有得到结果,





请帮帮我。



谢谢和问候

Vishwa

Hi guys,

I have 4 different web projects which are in the same solution file , depends on the login i have to redirect the user to related project. i am using

this is default
Response.Redirect("Default.aspx", false);

this is for redirecting other site.

Response.Redirect("http://mysite/Default.aspx", false);

this shows an error. unable to find,


even i have given full path still not getting the result,


Please help me out.

Thanks and regards
Vishwa

推荐答案

在response.redirect中指定的url不正确
url specified inside the response.redirect is incorrect


这篇关于将Web请求1网站重定向/转移到另一个网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆