Hi All,

I have an application where I have to set cookies.
The cookies are getting set in Firefox. But it doesnt for IE6 and IE7.

Funny thing is that it works when I run the code on my localhost. But when I move the code to an environment resembling the production it doesnt work.

Below is the code I use to set cookies:

Cookie cookie = new Cookie(cookieName, cookieValue);
log.debug("Cookie::   Name: "+cookieName+"  Value: "+ cookie.getValue().toString());

Am I missing something here or is there some other setting that I need to do in the other environment.