Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Enabling sessions for use in the publicly-facing site

Avatar

Level 1

We are designing an application in AEM 5.6.1 that would utilize user sessions, and noticed that sessions are disabled in global.jsp. Concerns about statelessness aside, why does global.jsp include session="false" in the page directive? What consequences, if any, should we expect if we remove that and start using sessions in some components?

1 Accepted Solution

Avatar

Correct answer by
Level 10

It is big topic. In short not encouraged to use httpsession an simple example it breaks caching at dispatcher and many more.  

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

It is big topic. In short not encouraged to use httpsession an simple example it breaks caching at dispatcher and many more.  

Avatar

Level 1

Sham HC wrote...

It is big topic. In short not encouraged to use httpsession an simple example it breaks caching at dispatcher and many more.  

 


Thanks for the reply. What would you recommend then as the way to track a customer's authentication?

Avatar

Level 10

bsstephan wrote...


Thanks for the reply. What would you recommend then as the way to track a customer's authentication?

 

 One of option is clientcontext http://docs.adobe.com/docs/en/cq/current/administering/client_context.html

Avatar

Level 1

Do AEM and the JCR support having thousands of customers being created as users if we were to use the Adobe Granite SAML handler for customers?