Missing Cookie data in doPost() at SlingHttpServletRequest request | Community
Skip to main content
New Participant
August 30, 2024
Solved

Missing Cookie data in doPost() at SlingHttpServletRequest request

  • August 30, 2024
  • 3 replies
  • 664 views

In my AEM application I'm able to fetch the cookie(while landing the home page application) but in SlingHttpServletRequest I'm not able to get SlingHttpServletRequest.getCookie("MypropertyValue") in my dopost method. Can some one kindly please advise solution for the above problem

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

arunpatidar
arunpatidarAccepted solution
New Participant
September 2, 2024
kaikubad
New Participant
September 1, 2024

If the request is passing through cdn and dispatcher, can check if cookie header is allowed

Harwinder-singh
New Participant
August 30, 2024

@ashokthota Check when you are invoking this request, do you still have that cookie or not.