- This topic has 6 replies, 2 voices, and was last updated 8 years, 5 months ago by
macalter.
-
26th June 2015 at 10:56 am #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: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
26th June 2015 at 12:00 pm #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 -
26th June 2015 at 2:05 pm #4505
-
26th June 2015 at 2:09 pm #4507
Sorry, I meant say
Administration > Site administration > Site configuration > Session timeout.
Nigel
My personal kiwitrees site is www.our-families.info -
26th June 2015 at 2:12 pm #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: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
26th June 2015 at 3:19 pm #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 -
26th June 2015 at 4:05 pm #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: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
- The topic ‘Log out’ is closed to new replies.