Solved
Access session storage in Java
Hi All,
I have items in session storage that I want to use in backend.
I have tried Servlet class with get method but was unable to get the item.
Can anybody with experience help me out ?
Hi All,
I have items in session storage that I want to use in backend.
I have tried Servlet class with get method but was unable to get the item.
Can anybody with experience help me out ?
Here is the example
Cookie countryCookie = slingRequest.getCookie("myCountryCookie");
if(countryCookie==null) {
String cookieValue = countryCookie.getValue();
// rest of the logic
}
https://github.com/arunpatidar02/aem63app-repo/blob/master/java/DemoCookieFilter.java
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.