Foren
Session time out issue in liferay when system goes to sleep mode
krishna mohan mathakala, geändert vor 7 Jahren.
Session time out issue in liferay when system goes to sleep mode
Junior Member Beiträge: 68 Beitrittsdatum: 08.09.12 Neueste Beiträge
Hi,
I am facing the following issue while working with liferay portlet.
Once the user login to the portal and access a portal page which has portlet on it.This portlet has couple of buttons which will perform ajax operations.
Scenario 1: If the user is active on machine and do not access the application for specific time ,It is showing the session time out warning and redirecting the user to login page once session expires.Which is fine.
Scenario 2 : User access the application in browser and left the machine and machine went to sleep mode ,When he login back to machine after certain time(Mean while session expired), The browser is showing no waring message and not redirecting the user to login page .Instead it is showing the same portal page user accessed before system goes to sleep mode. When user click on any button ,They are not working. And No log message's In the browser console and server console.
Environment : Liferay 6.2, Weblogic 10.3.26, Java 7
I am facing the following issue while working with liferay portlet.
Once the user login to the portal and access a portal page which has portlet on it.This portlet has couple of buttons which will perform ajax operations.
Scenario 1: If the user is active on machine and do not access the application for specific time ,It is showing the session time out warning and redirecting the user to login page once session expires.Which is fine.
Scenario 2 : User access the application in browser and left the machine and machine went to sleep mode ,When he login back to machine after certain time(Mean while session expired), The browser is showing no waring message and not redirecting the user to login page .Instead it is showing the same portal page user accessed before system goes to sleep mode. When user click on any button ,They are not working. And No log message's In the browser console and server console.
Environment : Liferay 6.2, Weblogic 10.3.26, Java 7
Samuel Kong, geändert vor 7 Jahren.
RE: Session time out issue in liferay when system goes to sleep mode
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
It seems like the time out warning is shown based on a countdown timer. So when the machine sleeps, the countdown script is no longer running. Feel free to create a ticket for this issue.
krishna mohan mathakala, geändert vor 7 Jahren.
RE: Session time out issue in liferay when system goes to sleep mode
Junior Member Beiträge: 68 Beitrittsdatum: 08.09.12 Neueste Beiträge
Is there any way to check session alive or not from javascript