help with filters - cannot see cookies when viewing the page in the dispatcher | Community
Skip to main content
jayv25585659
Level 8
June 3, 2021
Solved

help with filters - cannot see cookies when viewing the page in the dispatcher

  • June 3, 2021
  • 2 replies
  • 1181 views

situation:

  1. When viewing the page in author/publisher (view-as published), the browser cookies are available in my filter
  2. When viewing the page via the dispatcher, the browser cookies are NOT available in my filter.
  3. filter class is located in com.myhost.core.filters.myfilters
  4. I've added logging in my class so I know if the cookie is getting read or not. It's definitely not getting read when I view the page via the dispatcher.

questions:

  1. Perhaps there's an Apache config I need to set before this can happen? If yes, which one?
  2. Perhaps this is not possible?

Thanks

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

Hi @jayv25585659 ,

 

Please refer to Jorg comment in the below thread.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/cq-dispatcher-cookie-issue/qaq-p/229376

2 replies

Vaibhavi_J
Vaibhavi_JAccepted solution
Level 7
June 3, 2021
Asutosh_Jena_
Community Advisor
Community Advisor
June 3, 2021

Hi @jayv25585659 

 

Are you using any secure cookie flag on dispatcher or setting the cookie on secure domain using code?

 

When you said it works on author/publish, does it work with HTTP or HTTPs or both?

When you are accessing via website i.e., via dispatcher is it on HTTP or HTTPs?

 

Thanks!

jayv25585659
Level 8
June 4, 2021
we only have HTTP when using author/publisher. in the dispatcher, we only have HTTPS. Adobe Managed Services configured it this way.