how to handle user session in cq5 | Community
Skip to main content
October 16, 2015
Solved

how to handle user session in cq5

  • October 16, 2015
  • 2 replies
  • 1127 views

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.

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

Here is a community article that may help:

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

Hope this helps.

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Here is a community article that may help:

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

Hope this helps.

simran72Author
October 16, 2015

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.