Hi Hasini, On Thu, 2018-06-21 at 07:19 +0530, Hasini Witharana wrote: > I want to store the state value in a HashMap against an unique > parameter > such as browser cookie. Is there any implementation in Sling to take > the > browser cookie or what should I use instead of cookie?
In a Sling Servlet you have the SlingHttpServletResponse object which does everything that a 'JEE' HttpServletResponse does, including response.addCookie(...) So you can definitely use that. Robert
