One of our applications will be launched in the iframe, inside salesforce, and I am having problems accessing the referrer. They would like us to do some reviewer checks to make sure the request comes from salesforce, and we are given IP addresses for verification.
My problem is that at any time I try to access the referrer in one of the following two ways:
HttpContext.Current.Request.ServerVariables["HTTP_REFERER"] HttpContext.Current.Request.UrlReferrer
it returns me null.
Any ideas on how I can get a referent?
PS: I know that you can deceive the essay, but this is part of the requirement.
, , , IFrames -, . "", , . IP-. ?
Tricky. , , . ( , Uri). IP- DNS (- .NET).
Uri
, , . . , , , . IOW, showstopper.
( ) -. ( , ).
, . , , ( y, src. IFRAME), .
Source: https://habr.com/ru/post/1718685/More articles:Лучший способ сохранить/загрузить изображения с .Net & SQL Server 2005? - databaseHow to add proxy support for connecting C # sockets? - proxyDynamic link loading algorithm - vb.nethttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1718683/how-to-grant-write-access-to-a-folder-in-aspnet-mvc-site-with-iis7&usg=ALkJrhgAV6m9SyPUhAUvbc_q2RjIiiPFYwкак резко/размывать uiimage в iphone? - objective-cMoving a page by link - htmlruby logging method - variablesHow do I solve problems with the "Software Problem"? - javahow to draw a namespace / package scope method / variable in UML? - c ++How to call a .NET web service with Kerberos authentication (or NTLM) from Oracle PL / SQL - plsqlAll Articles