This discussion is archived
7 Replies Latest reply: May 22, 2013 6:03 AM by Nelash Jindal RSS

Setting cookie in sites

986888 Newbie
Currently Being Moderated

I am trying to set a cookie in java code as follows,
Cookie cookie = new Cookie("JSESSIONID=","xxxxxx");

where JSESSIONID= is returned from third party after sso with it.
This code is deployed as a jar file in CS/web-inf/lib. But cookie is not showing in browser. Am i missing anything. ungert help required..


  • Correct Answers - 10 points
  • Helpful Answers - 5 points