从一个应用程序重定向到另一个 [英] Redirect from one application to another

查看:115
本文介绍了从一个应用程序重定向到另一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI ...如何从一个应用程序重定向到另一个应用程序

解决方案

(如果您在网站上工作),

 Responce.Redirect(" );  



在两个应用程序的情况下,仅使用Response.Redirect即可,但采用这种方式:

 Response.Redirect(" );
//  51468将是您的端口号.
// 在不同应用程序之间导航时需要完整的限定路径. 




--Amit




您的问题不太清楚,但这可能会帮助您

您可以使用

 Response.Redirect(" );  

如果需要完整路径,则根据需要构造url


HI...How to redirect from one application to another application

解决方案

if you are working on a website,

Responce.Redirect("new_page.aspx");


Hi,
In case of two application you just use Response.Redirect only but in this way:

Response.Redirect("http://localhost:51468/Website2/Default.aspx");
//51468 will be your port number.
//A full qualified path is required to navigate through different applications.




--Amit


Hi,

Your question is not so clear but this one may help you

You can use

Response.Redirect("New_Page_Name.aspx");



if it needs full path then construct url as you need


这篇关于从一个应用程序重定向到另一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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