Sling Model values cached

Avatar

Avatar
Boost 1
Level 1
kalyan1556903
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
kalyan1556903
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
kalyan1556903
Level 1

01-10-2019

Hi all,

at right now am working on user handling project and i have issue with with sling model for the first am getting the values from SAML response and getting the values in one sling model,this and the problem is when user sign out from  our site session will close but also this sling model getting caching the values and showing in one of my page.please help me out of this

Thanks,

kalyan kumar

Replies

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

01-10-2019

So you are saying that sling models are caching content, and that it impacts your site when the user switches between logged-in and logged-out state?

Have you checked [1] around caching of sling models?

[1] Apache Sling :: Sling Models