开发者

ASP.NET app running in PeopleSoft IFrame - problem

开发者 https://www.devze.com 2023-01-01 21:48 出处:网络
I have a .NET app running inside a Peoplesoft web portal IFrame. What I need to do is get the URL of the portal (parent) that called my .NET app.

I have a .NET app running inside a Peoplesoft web portal IFrame. What I need to do is get the URL of the portal (parent) that called my .NET app. So far I've tried to get the URL inside my c# code using Request.Url.AbsoluteUri but this is not working.

I'm assuming I will have to do this in JavaScript, or is it possible to ge开发者_开发知识库t the browser's URL inside my c# code? Thanks in advance.


Request.UrlReferrer.AbsoluteUri on the Start Page of the ASP.NET app did the trick. All is good now.

0

精彩评论

暂无评论...
验证码 换一张
取 消