コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

HttpSession maintenance in CQ5/AEM6.0

Avatar

Level 4

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

1 受け入れられたソリューション

Avatar

正解者
Level 10

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 返信

Avatar

Level 10

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);

Avatar

Employee

Please note that usually we never use sessions with AEM.

Avatar

正解者
Level 10

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/

Avatar

Administrator

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