开发者

Get referrer in Apex Visualforce

Is it possible to get the referrer from a salesforce page that im editing in visualforce?

Im using the following APEX method

开发者_如何学Go
return ApexPages.currentPage().getUrl();

... the above only returns the current url and the previous or referrer


public String getReferer(){
   return ApexPages.currentPage().getHeaders().get('Referer');
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜