如何在另一个Web应用程序中使用一个Web应用程序的aspx页面?
问题描述:
我在login.aspx页面上有登录功能,我想在另一个Web应用程序中使用相同的页面是可能的。提前谢谢
I have login functionality on login.aspx page and I want to use the same page in another web application is it possible.Thanks in advance
答
如果两者都有这些应用程序是托管的,然后是的,一种方法是使用IFrame
在另一个内部调用一个页面。
但是,有安全隐患这种方法通常不建议这样做。
If both these applications are hosted, then yes, one way could be to call one page inside another using anIFrame
.
However, there are security implications with this approach and this is generally not recommended.