Search Forums
Forums
Kiwitrees on Twitter
    Tags

    style, children, translation, googlemap. modified, 3.0.0, ASSO, Add a wife, emigration, Histo, webtrees 1.4.4.1, message contactform, logout, image, HTML block, css, white screen, simpl_grey, pop-ups, family facts, blank screem, special character, fact, .po, configure, index, googlemaps, 3.0.0. setup, .mo, census assistant, library, github, link, Export/Import, simpl_research, privacy, I18N, request, nickname, gender change, journal, xenea, fancy tree view, php 5.6, login, Favourites, media_links, GEDCOM errors, order, events of close relatives, sidebar, tab, calendar, re-order, bug, family fact, descendants, locked out, name, resources, fatal error

    Topic:   Log out  

    This topic contains 6 replies, has 2 voices, and was last updated by macalter macalter 2 years ago.

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

      536 posts

      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.

      -----
      Kiwitrees:
      "A-D connections 3.3.0 (rev)"
      PHP 5.6.29 Fast CGI

      "The Royals 3.3.0.."
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56
      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 10.1.1 (11603.2.5);  Firefox 53.0.2
      [updated: 22 May 2017]

      #4504
      kiwi
      kiwi
      Keymaster

      1443 posts

      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
      macalter
      macalter
      Participant

      536 posts

      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.

      -----
      Kiwitrees:
      "A-D connections 3.3.0 (rev)"
      PHP 5.6.29 Fast CGI

      "The Royals 3.3.0.."
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56
      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 10.1.1 (11603.2.5);  Firefox 53.0.2
      [updated: 22 May 2017]

      Attachments:
      You must be logged in to view attached files.
      #4507
      kiwi
      kiwi
      Keymaster

      1443 posts

      Sorry, I meant say

      Administration > Site administration > Site configuration > Session timeout.

      Nigel

      My personal kiwitrees site is www.our-families.info

      #4508
      macalter
      macalter
      Participant

      536 posts

      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.

      -----
      Kiwitrees:
      "A-D connections 3.3.0 (rev)"
      PHP 5.6.29 Fast CGI

      "The Royals 3.3.0.."
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56
      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 10.1.1 (11603.2.5);  Firefox 53.0.2
      [updated: 22 May 2017]

      #4509
      kiwi
      kiwi
      Keymaster

      1443 posts

      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
      macalter
      macalter
      Participant

      536 posts

      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.

      -----
      Kiwitrees:
      "A-D connections 3.3.0 (rev)"
      PHP 5.6.29 Fast CGI

      "The Royals 3.3.0.."
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56
      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 10.1.1 (11603.2.5);  Firefox 53.0.2
      [updated: 22 May 2017]

    Viewing 7 posts - 1 through 7 (of 7 total)

    You must be logged in to reply to this topic.