Underscores and Internet Explorer Fun Underscores and Internet Explorer Fun

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!

Published on Mar 13, 2009

Tags: underscore | Theory

Related Posts

Did you enjoy this article? If you did here are some more articles that I thought you will enjoy as they are very similar to the article that you just finished reading.

Tutorials

Learn how to code in HTML, CSS, JavaScript, Python, Ruby, PHP, Java, C#, SQL, and more.

No matter the programming language you're looking to learn, I've hopefully compiled an incredible set of tutorials for you to learn; whether you are beginner or an expert, there is something for everyone to learn. Each topic I go in-depth and provide many examples throughout. I can't wait for you to dig in and improve your skillset with any of the tutorials below.