Sessions and IE

sugarcrmdevelopers —  August 10, 2010 — 9 Comments

We have doing some testing on a few of our customer instances that are to be upgraded to SugarCRM 6.0.1. Everything has been going very smooth, thanks to the huge amount of focus we have put into upgrade testing over the last few months. However, we ran into one bizarre issue when doing testing on Internet Explorer.

To begin with, let me give you some insight into the process we go thru to do the upgrade testing for customer instances.

  1. Our On-Demand team will deploy a copy of the customer’s instance on our internal loadtest cluster.
  2. We come in and clone the instance; making an indentical copy of both the file structure and the database. This is helpful to do before and after comparisons of any customizations that have been made, and makes it easier for us to re-clone the instance in case we need to go thru the upgrade process again.
  3. On the instance to upgrade, we run the Sugar silent upgrader.
  4. We then login to the new instance and see how it looks.

However, step 4 above didn’t work on IE; we couldn’t login. After doing lots of investigation on changes between 6.0GA and the current 6.0.1 builds and finding nothing, we tripped across this note a user posted to the PHP Manual.

And then it dawned on us. When we closed the instances, we named the new instances using the form:

…which was the problem. So changing it to:

…made it work correctly. A good lesson for anyone when naming their applications instances; don’t use underscores in the server name.

9 responses to Sessions and IE


    To the uneducated man, this will, indeed, seem like a fault in IE, when, in fact, it's not. The underscore is not a legal character in DNS, or while not specifically illegal, certainly it is outside the recommended character range:From RFC1035>The labels must follow the rules for ARPANET host names. They must>start with a letter, end with a letter or digit, and have as interior>characters only letters, digits, and hyphen. There are also some>restrictions on the length. Labels must be 63 characters or less.Obviously oblivious to this, may I ask you, what you are doing a) naming hosts b) misinforming audiences about the source of their problems?The fact that other browsers than IE are more permissive does not make it an IE problem. The fact that name server will allow you to use the underscore does not make it good form.Today, I'm angry at the internet.


    A good lesson for anyone who makes up domain names: make them valid and don't blame anyone elseNext: we learn how putting a slash into a domain name does not work.


    Thanks John, this is a useful pointer.It's a shame that certain other folks can't simply share a piece of knowledge graciously, instead preferring to make a big drama.


    Yes it is a pain in the butt … i was also pulling my hair out trying to figure it out a while back …. so i wrote this to help others ….


    A big drama you say? Perhaps, but with merit. I don't go around blaming diesel for ruining my petrol car, because that would just be silly.I'm just sick and tired of people blaming IE for everything, when the real reason is something else entirely. I'm not saying IE isn't a pain in the ass, but when you do things right, you're pretty much home free.I just want the world to concentrate less on finding things to blame when instead they could be finding solutions to real problems.


    Very helpful. Thanks John.

Trackbacks and Pingbacks:

  1. Fun with Sessions and IE « John Mertic - August 10, 2010

    […] August 10, 2010 John Mertic Leave a comment Go to comments I just added a blog post on the Sugar Developer Blog about Sessions and IE, detailing one quirky idiosyncrasy with how Internet Explorer won’t save sessions if the […]

  2. Fun with Sessions and IE | PHP Developers - August 10, 2010

    […] just added a blog post on the Sugar Developer Blog about Sessions and IE, detailing one quirky idiosyncrasy with how Internet Explorer won’t save sessions if the […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s