Hi,
I tried having two webapps
(1) WebApp.domain.com ==> here i add cookie in respose as follows
Cookie cookie = new Cookie("namedCookie","
test");
cookie.setDomain(".domain.com");
response.addCookie(cookie);
(2)WebApp1.domain.com==>Here i tried to access the cookie as follows, but cant able to access
Cookie[]cks = request.getCookies();
for(int i=0;i<cks.length;i++){
out.print("cookie found"+cks[i].getValue());
}
Any idea on this?>