Automatically log out idle users - General Discussions - General Discussions - Progress Community
 General Discussions

Automatically log out idle users

  • 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
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • 348297_usersloggedIn.png
    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.
    Copy Code
    SecurityManager.Logout();
                 SecurityManager.DeleteAuthCookies();
    Calling this on a button click or with other logic applied logs out the users.

    Greetings,
    Stefani Tacheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • 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
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • @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
  • 348970_userOnLine.png
    @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
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • I don't think that's the right PITS link :)

    But that aside, this should be filed as a "Bug" unless the feature is that "As a user I want the property UserIsOnlineTimeWindow to work"? :)
  • 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
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • 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
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • 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.