Highlighted

Sling Model values cached

kalyan1556903

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

Highlighted

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