HttpSession maintenance in CQ5/AEM6.0 | Community
Skip to main content
New Participant
January 7, 2016
Solved

HttpSession maintenance in CQ5/AEM6.0

  • January 7, 2016
  • 4 replies
  • 1085 views

Hi ,

Could anyone please let me know how to maintain Http Sessions in CQ5/AM6.0 and above versions.

 

Thanks in advance.

 

Best Regards,

Vijaya Immadisetty

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

HTTP sessions are typically not used in AEM. JCR Sessions are used: 

Here is a good community article on JCR sessions: 

https://cqdump.wordpress.com/2013/03/18/jcr-sessions-and-cq5/

4 replies

kautuk_sahni
Employee
January 11, 2016

Adding to what Scott has mentioned, please have a look a the a community article to help you with the same :- http://www.wemblog.com/2014/08/how-to-use-sessions-and-resource.html

~kautuk Sahni

Kautuk Sahni
smacdonald2008
smacdonald2008Accepted solution
New Participant
January 7, 2016

HTTP sessions are typically not used in AEM. JCR Sessions are used: 

Here is a good community article on JCR sessions: 

https://cqdump.wordpress.com/2013/03/18/jcr-sessions-and-cq5/

Feike_Visser1
Employee
January 7, 2016

Please note that usually we never use sessions with AEM.

Sham_HC
New Participant
January 7, 2016

you mean to say keep session active for inactivity period of time? Can make ajax interval for regular interval [A]. What is your use case?

 

[A]

 setInterval(function() {
        makeDummyAjaxRequest();
    }, 300000);