Elxis CMS Forum

Community => Elxis 2008.x Olympus (dev) => Topic started by: datahell on October 27, 2007, 15:21:18

Title: Session expiration notification
Post by: datahell on October 27, 2007, 15:21:18
Something we have all suffered from in the past is now solved.
Lets suppose you have logged-in in backend and you write an article. Time passes and session expires (session expires by default after 15 minutes of inactivity). When you click on save or apply Elxis will redirect you to the login page as the session expired and all of your changes to the article will be lost!

Inorder to solve this issue we added a countdown notification script in the top of the content item edit page. Counter is distinctive enough inorder not to be annoying. It starts counting down from 15 minutes (default setting) to zero displaying only minutes in the beggining, meaning that it changes only once a minute. When remaining time is less than one minute it displays you the remaining seconds so it changes every second. When the remaining time is less than 30 seconds it displays you remaining time colored in red inorder to take your attention that you must hurry up. What you must do? Just click apply. Your session will be refreshed giving you 15 more minutes of allowed inactivity and the changes to the article will be saved.

See the attached screenshots.

Notice: You can set session lifetime in any value you wish from Elxis global settings ( default value is 900 seconds: 15 minutes ). Elxis 2008 also has better session control than the 2006 generation.

[old attachment deleted by admin]
Title: Re: Session expiration notification
Post by: Farhad Sakhaei on October 27, 2007, 16:38:48
good job , it was necessary  for the system
Title: Re: Session expiration notification
Post by: Ivan Trebješanin on October 27, 2007, 19:05:35
Maybe it looks like a detail, but very significant detail. Every webmaster will LOVE it! :D
Title: Re: Session expiration notification
Post by: datahell on October 27, 2007, 20:07:01
Yes it is a small detail but can be proved very useful. An other similar feature is in the new (ajax powered) logout procedure from backend. Elxis does not log you out immediately but displays you a screen that writes how much time you have been logged in and asks you if you really want to log out (like when you shutdown windows).

Edit: Extended info removed, wrong forum! sorry...

Title: Re: Session expiration notification
Post by: Farhad Sakhaei on October 27, 2007, 21:14:22
very good john , don't hurry , ELXIS 2008 should be the better than any CMS  ;) so review all sections , very thanx