Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 25
Level 4
jayv25585659
Level 4

Likes

46 likes

Total Posts

125 posts

Correct Reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Validate 25
Level 4
jayv25585659
Level 4

Likes

46 likes

Total Posts

125 posts

Correct Reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 5
View profile
jayv25585659
Level 4

03-06-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct Reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct Reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
Vaibhavi
MVP

03-06-2021

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

03-06-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!