13 Mar 2009 @ 2:01 PM 

I think my favorite thing about being a web developer is wasting hours and hours of my time, my co-workers time, pretty much every ones time because Internet Explorer is retarded.

Earlier this week, we were developing a site and we created a new sub domain off of our main domain.  Because we already had an existing sub domain for the same client, the team decided to postfix the sub domain with _new.  When we started testing our work, it didn’t start off well.  Open up Internet Explorer 7 and receive the login page, attempt to login and just get redirected back to the login page.

We know there is nothing wrong with our login script as it works fine in Mozilla and it’s something that we’ve used on a million other projects.

My head still hurts from banging it against the wall for quite some time to simply discover that Internet Explorer rejects session cookies when a domain contains an underscore (“_”) in the name!

I know this is the shortest article I’ve ever written, but I had to vent.  Hopefully if you run into this problem you will Google it sooner than we did and this article will save you time and a headache!

  • Share/Bookmark

Other useful articles

Posted By: Jamie
Last Edit: 13 Mar 2009 @ 02:01 PM

EmailPermalink
Tags
Tags: ,
Categories: Theory


 

Responses to this post » (2 Total)

 
  1. Ian says:

    Do you realise that underscores are invalid in domains? The only non-alphanumeric characters allowed in domains are hyphens (periods aside).

    As such, IE has the right to behave erratically as does any other browser.

  2. Jamie says:

    Yes, once I determined the problem was that, I said those exact words. What bothers me though is that it is not “invalid” in a sub domain, which is where we had our underscore.

Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


 Last 50 Posts
 Back
Change Theme...
  • Users » 14
  • Posts/Pages » 75
  • Comments » 231
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight