Missing Cookie data in doPost() at SlingHttpServletRequest request | Adobe Higher Education
Skip to main content
Level 2
August 30, 2024
解決済み

Missing Cookie data in doPost() at SlingHttpServletRequest request

  • August 30, 2024
  • 3 の返信
  • 687 ビュー

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

このトピックへの返信は締め切られました。

3 の返信

Harwinder-singh
Community Advisor
Community Advisor
August 30, 2024

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

kaikubad
Community Advisor
Community Advisor
September 1, 2024

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

arunpatidar
Community Advisor
Community Advisor
September 2, 2024