Expand my Community achievements bar.

SOLVED

Response Set cookie not available in Dispatcher

Avatar

Level 1

Hi,

 

Using AEM as a cloud. Setting cookie in servlet response object.  Cookie is not available in dispatcher.

 

Any Dispatcher level config do i need to do.

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Level 6

If you’re setting a cookie as part of your servlet's response object, it should be passed to the browser.

Could you confirm if you’ve set any specific path for the cookie?

If possible, please share the code snippet where the cookie is being set. This will help in understanding if any other parameters (like domain, path, or expiry) are affecting its behavior.

Avatar

Correct answer by
Community Advisor