Developer forum

Forum » Development » Cookie not set on multilanguage site

Cookie not set on multilanguage site

Rob Lohmann
Reply
I've got a multilanguage site. German and Dutch. For the Dutch website adding products to our cart works fine. Cookies are set in all browsers etc..
The German site shows strange behavior, adding products to our shoppingcarts works fine, except in IE9. No cookies seems to be set, so no products can be added to the shoppingcart. Anyone ran into this before?

Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Do you have a URL for us to look at?

Imar

 
Rob Lohmann
Reply
 Hi Imar,

Thanks for your response. The url is http://oosterik_de.staging.innovadis.com

Kind regards,
Rob

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
This post has been marked as an answer
That URL doesn't work for me. But I sent you a message off-line with a screenshot of the site using one of its other URLs where I can successfully add something to the basket.

Cheers,

Imar
Votes for this answer: 0
 
Rob Lohmann
Reply
Hi Imar,

I've seen your message and will also reply to that one. Your tip solved the issue on our side. Problem was indeed caused by the underscore in the url.

Thanks a lot for you good assistance!
Cheers,
Rob
 
Jurgen van Kreij
Reply
When you use an underscore in the domain name IE9 won't accept any cookies.

Kind regards,
Jurgen
 
Morten Snedker
Reply
 @Jurgen - that is probably not IE9 specific, as only valid URL characters are

  0...9
   a...z
   A...Z
   .
   - (hyphen, not underscore)
 
Jurgen van Kreij
Reply
Hi Morten,
You are right, an underscore isn't allowed according to the domain RFC's.
But Chrome, Firefox and IE below 9 happen to be not so restrictive. That is why it took a while before we found out...  ;-)

Jurgen

 

You must be logged in to post in the forum