15 Nov 2011

IE8 window.location HTTP_REFERER

Stupid HTTP variable, HTTP_REFERER. It's spelt wrong for a start.

Anyway, to cut a long, stupid story short, an HTTP call invoked from a javascript window.location change will usually set the HTTP_REFERER variable on IIS because the browser sends a Referer header.

I say 'usually' because it DOESN'T FRIGGING WORK in IE8. IE9, FF, Chrome, fine. IE8, nope.


1 comment:

  1. Anonymous5:29 pm

    In the same boat here... Would be nice to uninstall IE8 from everyone in the world's machine. (Starting with my company's intranet users.)


Comments are very welcome but are moderated to prevent spam.

If I helped you out today, you can buy me a beer below. Cheers!