Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

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

Avatar

Level 8

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

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!

Avatar

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