You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-06-20 16:28:21

sobjak
Member
Registered: 2012-06-20
Posts: 5

Auto-Logout in GLPI

Hello friends of GLPI!

I want to know how I can implement the opt-in GLPI off so that when a user is not using the system during a given time is logged, the system automatically destroys the session for this user.



grateful
Rodrigo Sobjak
Support Analyst
Cooperativa Agroindustrial Lar

Offline

#2 2012-07-03 14:12:10

sobjak
Member
Registered: 2012-06-20
Posts: 5

Re: Auto-Logout in GLPI

anything?

Offline

#3 2012-07-03 15:24:21

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Re: Auto-Logout in GLPI

I haven't seen anything about auto logoff.
But this is a good idea.  You should send in a feature request.

Best solution is to send them to the devel ML
(need to subscribe first, this is a quite loww traffic ML)

See http://www.glpi-project.org/spip.php?article41&lang=en


Thanks,
Dan

Offline

#4 2012-07-03 16:16:34

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Auto-Logout in GLPI

See session life time configuration.

When expire, user is redirected to the login page.


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#5 2012-07-03 16:55:23

danh
Member
From: Chicago, USA
Registered: 2012-03-08
Posts: 546
Website

Re: Auto-Logout in GLPI

Where is the session life time configuration setting located?


Thanks,
Dan

Offline

#6 2012-07-03 19:08:04

sobjak
Member
Registered: 2012-06-20
Posts: 5

Re: Auto-Logout in GLPI

I look this file /etc/php5/apache/php.ini (in debian) and edit this line:

; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0

and after X seconds my session expires, but I want the session to expire only if inactivity.

Offline

#7 2012-07-03 19:50:06

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Auto-Logout in GLPI

> and after X seconds my session expires, but I want the session to expire only if inactivity.
default behavior...


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#8 2012-07-03 20:52:26

sobjak
Member
Registered: 2012-06-20
Posts: 5

Re: Auto-Logout in GLPI

Ok, the default behavior, but does not solve what I need.

Last edited by sobjak (2012-07-03 20:52:42)

Offline

#9 2012-07-04 05:55:45

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Auto-Logout in GLPI

SO, i don't understand your need


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#10 2012-07-04 13:27:32

sobjak
Member
Registered: 2012-06-20
Posts: 5

Re: Auto-Logout in GLPI

Dear Remi.
necessary that the glpi automatically close the session of a user who is inactive for some time, or if it is not working in glpi in a given time the session is terminated.

The parameter "session.cookie_lifetime" PHP destroys the session even if the user is using. But I want to destroy the session only if a certain time of inactivity.


Sorry for the english, Google translator ... ;(

Offline

Board footer

Powered by FluxBB