Tech and Life

    Home     Archive     Projects     Contact

Explorer: No cookies using underscores

Recently at work we came across, yet another new frustrating microsoft thing. Cookies don’t work on explorer 7 when you use an underscore within your domain. For us this was the case for some local develop address “domain_php5.local”. It only took my colleague a day to figure it out…

As underscores arn’t valid for hostnames, this problem mostly occurs within local networks. Solution: change the hostname.

If you liked this post, you can share it with your followers!