Sunday, 15 February 2015

visualforce - Salesforce Missing Headers Puzzle -


I am trying to access the Salesforce header with a visualforce, as well as inline visualforces page. Both headers are different. My aim was to get the IP address from within the Visualforce page. I was able to get it from the VF page, while not inline VF page - what could disappear. Paste both headings below for reference:

Header page as an independent VF:

{accept = text / html, application / xhtml + xml, application / xml; Q = 0.9, image / webp, / ; Q = 0.8, Accept-Encoding = gzip, air extract, sdch, accept-language = en-America, n, cue = 0.8, cache-control = maximum-stale = 0, cipherSuite = AES256-SHA TLSv1.2 256 bits , Connection = survive, host = maseratispaceq.ap1.visual.force.com, referrer =, user-agent = Mozilla / 5.0 (Windows NT 6.1; WOW64) AppleWebKit / 537.36 (KHTML, like Lizard) Chrome / 41.0. 2272.89 Safari / 537.36, X-Bluecoat-Via = 02e34aac1d4420b1, X-Salesforce-Forwarded- to = ap1.salesforce.com, X-Salesforce-SIP = 65.116.212.3}

Inline VF page as < P> Header:

{CipherSuite = AES256-SHA TLSv1 256b Finalists, core.apexpages.framework.ApexViewServlet.getContentReflectError = true, core.apexpages.framework.ApexViewServlet. GetContentRequest = 1, host = maseratispaceq.ap1.visual.force.com, user-agent = Mozilla / 5.0 (Windows NT 6.1; WOW64) AppleWebKit / 537.36 (KHTML, like Lizard) Chrome / 41.0.2272.89 Safari I / 537.36, X-Salesforce-PDF = AAAAUUJBBRAVAAAAAAAAAAAAAAGIASAASAAAAAAAAAIAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAFTAA 128LLJJ8V 43LSJCERIPIPIIAMMAGS5SAKFPivaLHG4YBIP_AHxZWR6DMC4BJette4Oo =}


No comments:

Post a Comment