Why does my cookie not get sent?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Joost_Schouten
Posted On:   Thursday, August 14, 2003 03:29 PM

Hi,


I created a cookie in my servlet and call myCookie.setDomain("myDomain.com"). Note I'm left the www out. My browser does receive the cookie, but on subsequent requests to http://mySub.myDomain.com and http://mySecondSub.myDomain.com the cookie is not sent along? Does anyone know this problem? And more importantly, a solution? :-)


Thanks,

Joost

Re: Why does my cookie not get sent?

Posted By:   Benoit_Quintin  
Posted On:   Friday, August 15, 2003 12:20 PM

Well, since they're different URLs I'm not entirely convinced the cookie should be valid from one "sub" to the other...
About | Sitemap | Contact