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
Solved! Go to Solution.
Views
Replies
Total Likes
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/
Views
Replies
Total Likes
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);
Views
Replies
Total Likes
Please note that usually we never use sessions with AEM.
Views
Replies
Total Likes
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/
Views
Replies
Total Likes
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
Views
Replies
Total Likes