Automatically log out idle users
Is there a way to configure users to be logged out after a specific time duration of being idle?
Hello,
You save this information in the cookies used for authentication tickets caching and the indicated specific time might be changed. Please take a look at this video. Change the AuthCookieTimeout and BackendUsersSessionTimeout to the time duration you want.
Greetings,
Stefani Tacheva
the Telerik team
How do you take users off line (see attached). I have users that are logged in for weeks. I changed timeouts. It did not help.
Thank you,
Sebastian
Hello Sebastian,
To save the changes you have made, you should go to your project in Visual Studio, save your web.config build the project again (alternatively recycle the application pool).
Another solution is to logout users programatically by deleting the cookies which keeps their login information.
SecurityManager.Logout();
SecurityManager.DeleteAuthCookies();
Could this instead be rolled into the scheduler, like the same system you use for publishing pages on a specific date\time?
So on an interval we define it'd go though and log idle people off?
Hi Steve,
In Sitefinity the user statuses are two: Online and Offline. We do not have such implementation like Idle status. Maybe what you mean is our property UsersIsOnlineTimeWindow. Specifies the length of time, in minutes, before a user is no longer considered to be online. It can be found by selecting Administration -> Settings -> Advanced -> Security.
Kind regards,
Stefani Tacheva
the Telerik team
@Stefani,
Right, that's what I mean, but the online status of that user isn't reevaluated until the next time they attempt to log in\hit the site right?
Steve
@Stefani
My users are set to 5 minutes (see attached pic) for testing. It does not help.
Sebastian
Hello Steve,
It seems that the implementation of this property doesn't work. I have logged it as a feature request and I hope we will provide you with a solution for the next releases. The feature request can be tracked at this address: PITS Tracking.
Regards,
Stefani Tacheva
the Telerik team
I don't think that's the right PITS link :)
Hi,
Apologies for the wrong PITS, here you can find the right one.
It is not a bug, because the UserIsOnlineTimeWindow does not work and it is not implemented. If this was a bug, the property will work but incorrectly and with some issues.
Greetings,
Stefani Tacheva
the Telerik team
Dear Stefani
Being able to set a value to a feature that does not exist is a bug itself.
But you are correct the nonexisting feature does function as you would from a non existing feature :-)
Love the answer.
QUOTE
Its not a bug, because it does not work ;-)
UNQUOTE
Have a nice one
Markus
Hello all,
I have changed the feature request to a bug report. You can track its status on the same URL. The issue has been escalated with high priority and I hope it will be fixed soon.
Greetings,
Stefani Tacheva
the Telerik team
I would hope so :)
It's like saying "Well yeah we have a publish button, but it's a feature request to make it work"
If it exists in the UI, but does nothing...it's a bug. If it doesn't work yet, then don't show it. We don't have a list of things not wired up to know what works and what doesn't.
Like the RadEditor filters...those exists in the config, but they don't actually get applied to the RadEditor...bug not feature.
Has this been resolved? Does UsersIsOnlineTimeWindow do anything? What's suppose to happen on the user's screen? Any event I can hook into to tell the user they are being logged out for inactivity?
Why isn't the PITS link not working? www.telerik.com/.../pits.aspx
Hello Bryson,
Here is the current link of the Item:
http://feedback.telerik.com/Project/153/Feedback/Details/100564-usersisonlinetimewindow-is-not-working
The issue is fixed in internal build of version 8.0. In order to get it work I would recommend you to upgrade your project to the latest one.
Regards,
Svetoslav Manchev
Telerik