Viewing 7 posts - 1 through 7 (of 7 total)
Author
Posts
  • #4503

    My cousin logged in a few days ago. The next day when I was on my account’s Home Page, it showed she was still logged in so I sent an email to remind her. I now check and she was still showing logged in. So, sent another gentle reminder to log out. Her reply was that she did that when I sent the first email.

    Is there a way to timeout users (lower than admin ūüôā after a period of time either default or with admin setting option?

    SCENARIO SETTING IN ADMIN:
    Timeout idle setting: 60, 90, 180 minutes or 1 hour, 12 hours, 24 hours….. type of idea???
    Detail: logout users who leave their account idle after set period of time with no activity.

    -----
    [updated: 11 Jun 2021]
    MacOS: 10.15.7  (Catalina)
    Safari   14.0.3;  Firefox 89.0
    PHP 7.4 FastCGI

    Alter-Drukarsh connections... 3.3.8 <private>
    The Royals 3.3.8<royals.rbcsolutions.ca
    >
    The Gerrer Rebbes 3.3.8 <royals.rbcsolutions.ca/index.php?ged=rebbes>

  • #4504

    Two parts to the answer:

    1 – No, its not possible to have a setting that varies according to user role. Its a server-level setting so can only function for your entire site. Its not even possible to have different settings for different trees.

    2 – It already exists. Administration > Site administration > Session timeout. You need to set it in seconds (i.e. setting it as 7200 means 2 hours (2 * 60 * 60))

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #4505

    The image shows my Site Administration for 3.0:

    Screen-Shot-2015-06-25-at-10.03.52-PM
    I see no option for session timeout.

    -----
    [updated: 11 Jun 2021]
    MacOS: 10.15.7  (Catalina)
    Safari   14.0.3;  Firefox 89.0
    PHP 7.4 FastCGI

    Alter-Drukarsh connections... 3.3.8 <private>
    The Royals 3.3.8<royals.rbcsolutions.ca
    >
    The Gerrer Rebbes 3.3.8 <royals.rbcsolutions.ca/index.php?ged=rebbes>

  • #4507

    Sorry, I meant say

    Administration > Site administration > Site configuration > Session timeout.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #4508

    Found it but at default of 7200 (seconds), I shouldn’t see the user logged it still. She purposely did it again to make sure she was out. I’ll login using another of my profiles and see what happens.

    -----
    [updated: 11 Jun 2021]
    MacOS: 10.15.7  (Catalina)
    Safari   14.0.3;  Firefox 89.0
    PHP 7.4 FastCGI

    Alter-Drukarsh connections... 3.3.8 <private>
    The Royals 3.3.8<royals.rbcsolutions.ca
    >
    The Gerrer Rebbes 3.3.8 <royals.rbcsolutions.ca/index.php?ged=rebbes>

  • #4509

    If it doesn’t work for you then you may need to change some PHP settings at the server, or get your web host to do it. Its not something kiwitrees can control.

    The code to clean old sessions is executed when a new page is fetched. It does not happen every time. Perhaps 1 in 100 or 1 in 1000. This is controlled by the “gc” (garbage collection) settings in your PHP.INI file “gc_probability” and “gc_divisor”.

    If your site has very few visitors, you can change this to a lower value.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #4510

    I set it to logout at 1 hour but all 3 accounts are still active (admin, user, my cousin). I expected to try and view a page but instead get the “This individual does not exist or you do not have permission to view it.” meaning I’m not logged in (hence no privilege to view).

    Bedtime so will investigate further soon.

    -----
    [updated: 11 Jun 2021]
    MacOS: 10.15.7  (Catalina)
    Safari   14.0.3;  Firefox 89.0
    PHP 7.4 FastCGI

    Alter-Drukarsh connections... 3.3.8 <private>
    The Royals 3.3.8<royals.rbcsolutions.ca
    >
    The Gerrer Rebbes 3.3.8 <royals.rbcsolutions.ca/index.php?ged=rebbes>

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Log out’ is closed to new replies.