Expand my Community achievements bar.

SOLVED

how to handle user session in cq5

Avatar

Level 1

Hi,

I am working on a project based on cq5.5and neded to end user session on logout( donnot want user to see page when pressed back button on browser). My project uses many java files which all use different jcr session. Anyone please help me how I can manage user session (like session.invalidate in http) in CQ.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Here is a community article that may help:

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

Hope this helps.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Here is a community article that may help:

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

Hope this helps.

Avatar

Level 1

As mentioned in the article we use different sessions for each interaction with crx. Now, in my project user logs in and home page is shown. Friom there user can navigate to different pages. But, in case of logout I am not able to end user session because I don't know how to hadle user session. As mentioned in post, my project has different java files which create jcr session and close it. I don't know how user session is maintained across the website.