Select to view content in your preferred language

Proxy and Browsers and referrers

988
1
06-24-2014 07:58 AM
TracyArchibald
Occasional Contributor
I have an interesting problem that I HOPE someone has solved or at least seen.

We're trying to switch to use a proxy to handle authentication for our public facing webmap.  There's a couple of layers that need to be secured so we just push a token via the proxy.  It works fine for IE and FF, but Chrome is sending a different referrer.

In IE and FF, it send the url of the .SWF, but Chrome send the .aspx page as the referrer to the proxy.  This it totally borking up our tokens.

I have no idea where to start.  If it was a JS page, I could probably browser detect and send it to the right one, but since it's Flash, I'm not sure what to do.  I'd really rather not have to hack the proxy code in the viewer to take care of this one...

Suggestions?
Tags (2)
0 Kudos
1 Reply
TracyArchibald
Occasional Contributor
In case someone else runs into this issue, I've found a solution.  Although, I'd love to see more in case mine doesn't work later... 🙂

Instead of using http://mydomain.com/public/default.aspx to generate the tokens, I used  http://mydomain.com/ and everything seems to work.
0 Kudos