I am using Apache and PHP as my front-end server and Tornado as my back-end to handle my requests. When allowing a user to login I want to create cookies for the username and password. If I do it as follows:
self.set_cookie('emailaddress', email_address, domain='mydomain.com', expires=None, path='/', expires_days=expire_d)
self.set_cookie('password', newpass, domain='mydomain.com', expires=None, path='/', expires_days=expire_d)
Nothing is created. But if I do:
self.set_cookie('emailaddress', email_address)
self.set_cookie('password', newpass)
It works. But than even though the cookies which I can see from Firefox and Firebug but PHP on my front-end doesn't recognize them. Also I know its not from cross-domain because I have my Tornado server Proxy through Apache.