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
开发者_如何学Goreturn ApexPages.currentPage().getUrl();
... the above only returns the current url and the previous or referrer
public String getReferer(){
return ApexPages.currentPage().getHeaders().get('Referer');
}
精彩评论