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. 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.)


  2. This is genuinely an awesome read for me. I have bookmarked it and I am anticipating perusing new articles. Keep doing awesome!
    Web Development


  3. Respecting the time and exertion you put into your site and point by point data you offer!..
    Web Development


Comments are very welcome unless you're a spammer, in which case you should probably kill yourself.

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