Fixed setCookie in w3c mode
Modern browsers reject cookies with singlepart domain names, the best option is not to set domain property unless explicitly specified.
Modern browsers reject cookies with singlepart domain names, the best option is not to set domain property unless explicitly specified.