構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Olaf Kock
Warning: Due to inactivity your session has expired...
2009/03/23 12:52
答え

Olaf Kock

LIFERAY STAFF

ランク: Liferay Legend

投稿: 1961

参加年月日: 2008/09/23

最近の投稿

Hi,
repeatedly it bit me: Liferay has this - usually nice - feature that warns you about soon to be expiring (or already expired) sessions. The problem with this feature is, that it's completely client based and forces logout after a timer has expired (with a warning offering to extend the session). Now that there's the chat portlet a session would be open (actually with the chat portlet I'd like to have a session open for longer) indefinitely - e.g. as long as a page was displayed.
Additional problems come with tabbed browsing: I happen to read the forum in multiple tabs - searching for information or following links to other messages, keeping the message board index open in a separate tab etc.
Now one "old" tab is enough to terminate my session, probably taking my last message board post with it.
I believe to have seen a solution to disabling this feature serverside - only I can't do that on www.liferay.com where it bites me quite often. For these selfish reasons, I'd like to see this topic addressed - only I have not decided what to suggest:
  • keep the counter client-side, but instead of logging out after 30 minutes it should check if other counters are currently operating (e.g. once every minute) and re-adjust itself to the longest running counter
  • provide an option for the user to disable the feature (would be valuable on www.liferay.com) in the personal settings
  • remove explicit "logout" from client side timer event and display "Your session might have expired..."
  • other solutions?

Thanks for your attention (or suggestion),
Olaf
Lisa Simpson
RE: Warning: Due to inactivity your session has expired...
2009/06/23 8:52
答え

Lisa Simpson

ランク: Liferay Legend

投稿: 2034

参加年月日: 2009/03/05

最近の投稿

Its nailed me rather often too. It seems to be more of an Opera & Firefox issue though. It maintains the session ID in IE through the tabs. Not sure how to fix it, but that definitely seems to be the problem.
J Weis
RE: Warning: Due to inactivity your session has expired...
2009/06/23 12:02
答え

J Weis

ランク: Junior Member

投稿: 44

参加年月日: 2009/06/16

最近の投稿

In the stack of RFE priorities, where does this one sit? Session timeouts on this PORTAL (not my local install) is starting to increasingly bugging me.

Is there a Liferay RFE list available to the community?
Andrea Chiodi
RE: Warning: Due to inactivity your session has expired...
2012/11/23 7:29
答え

Andrea Chiodi

ランク: Junior Member

投稿: 28

参加年月日: 2010/09/09

最近の投稿

Well, this hint does not solve the problem, but maybe it could mitigate it.

Please compare the message from Liferay ...
"Warning! Due to inactivity, your session has expired. Please save any data you may have entered before refreshing the page."

... with the similar one from Google Doc:
"You have been disconnected. Please access to your account from another window."
(... more or less: here it's translated from Italian)

While Google suggests the easiest way to solve the problem, Liferay just declare the risk, creating fear and inconvenience.
IMHO, I would suggest to follow the google example.

In addition, the liferay 'expired' message covers the top bar, hiding the name of the current user.
In case you change user often (e.g. you are administrator), you have to peek in the html source, near the 'user-fullname' stylename, to discover who you are.
So, it would help to report in the message both the current user name and a confortable <href="..portal home.." target="_blank">.

Andrea

(sorry to renew an old thread - maybe it is against the rule, isn't?)
Olaf Kock
RE: Warning: Due to inactivity your session has expired...
2012/12/13 2:52
答え

Olaf Kock

LIFERAY STAFF

ランク: Liferay Legend

投稿: 1961

参加年月日: 2008/09/23

最近の投稿

good point regarding the message. You can contribute this as a translation (it doesn't change any code, just provides a "better" translation) on http://translate.liferay.com (use your screen-name with the liferay.com password. Alternatively you could file an improvement ticket on https://issues.liferay.com/ - preferred as this could update all languages with the friendlier message, especially if this issue would change the translation key.

Please note, that the new session-timeout implementation in 6.1 is a lot better than the one I described back in 2009 - now any active window extends the session and no longer does a background-tab end the session that you're working in the foreground.