Expand my Community achievements bar.

SOLVED

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

Avatar

Level 9

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 9
we only have HTTP when using author/publisher. in the dispatcher, we only have HTTPS. Adobe Managed Services configured it this way.