[dev] Timeouts for idle webmail users?

Rick Stevens rstevens@publichost.com
Mon, 08 Jan 2001 15:55:02 -0800


Michael Bull wrote:

> At 01:50 PM 08/01/2001 -0500, you wrote:
> 
>> On Mon, Jan 08, 2001 at 01:47:19PM -0500, Michael Bull wrote:
>> 
>>  > I've been tracing the discussions on idle timeouts.   What is the 
>> best way
>>  > to implement this?  I've been trying to make some changes with 
>> php.ini that
>>  > haven't seemed to work (by setting the session.cookie_lifetime to 900
>>  > seconds, to test).   Should that setting have worked with how 2.3 uses
>>  > sessions with php?  Someone had mentioned about there being the 
>> "hooks" for
>>  > where idle timeouts could be in the imp/horde code, but they hadn't 
>> been
>>  > implemented.... any thoughts on the best approach for this?
>> 
>> I suppose the best way to go about implementing timeouts would be via
>> some shim in the session routines.  There's already a timestamp on the
>> session itself (used by PHP's session garbage collection).  We could
>> try acting on that value to determine if the session has been idle
>> greater than a configurable period of time and log the user out
>> (gracefully) accordingly.
> 
> 
> I'm willing to look into this; where's a good starting spot?

Actually, I'm already working on that along with some custom branding
stuff.  I'm the one who said there's hooks for timeouts, but no
implementation of the timeouts themselves.  I'll get the timeout
stuff done first, then the branding.

----------------------------------------------------------------------
- Rick Stevens, CTO, PublicHost, Inc.        rstevens@publichost.com -
- 949-743-2010 (Voice)                     http://www.publichost.com -
-                                                                    -
-        Artificial Intelligence usually beats Real Stupidity.       -
----------------------------------------------------------------------



>From chuck@horde.org Date: Mon,  8 Jan 2001 22:43:16 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 17942 invoked from network); 9 Jan 2001 03:44:06 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 9 Jan 2001 03:44:06 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id D7C0B39F5; Mon,  8 Jan 2001 22:43:16 -0500 (EST)
Received: from 192.168.0.1 ( [192.168.0.1])
	as user chuck@marina by marina.your.mom with HTTP;
	Mon,  8 Jan 2001 22:43:16 -0500
Message-ID: <979011796.3a5a88d4bf331@marina.your.mom>
Date: Mon,  8 Jan 2001 22:43:16 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Timeouts for idle webmail users?

Quoting Michael Bull <mbull@uoguelph.ca>:

> Where would you suggest to start? (I'm not totally familiar with the 
> session routines; I assume they're part of Horde?)

No... 2.3 uses php4's built in session handling. From our perspective, it mostly
"just works".

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues


>From chuck@horde.org Date: Mon,  8 Jan 2001 22:52:51 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 18705 invoked from network); 9 Jan 2001 03:54:01 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 9 Jan 2001 03:54:01 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id ABE1A39F4; Mon,  8 Jan 2001 22:52:51 -0500 (EST)
Received: from 192.168.0.1 ( [192.168.0.1])
	as user chuck@marina by marina.your.mom with HTTP;
	Mon,  8 Jan 2001 22:52:51 -0500
Message-ID: <979012371.3a5a8b134c169@marina.your.mom>
Date: Mon,  8 Jan 2001 22:52:51 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: whups@lists.horde.org, dev@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: cvs viewer moves to chora

The cvs viewer code which was previously in the WHUPS module now has its own cvs
module called "chora".

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues


>From chuck@horde.org Date: Tue,  9 Jan 2001 16:56:11 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 57179 invoked from network); 9 Jan 2001 21:57:05 -0000
Received: from r94aag005136.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 9 Jan 2001 21:57:05 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 41F8D39F4; Tue,  9 Jan 2001 16:56:11 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Tue,  9 Jan 2001 16:56:11 -0500
Message-ID: <979077371.3a5b88fb1f8f0@marina.horde.org>
Date: Tue,  9 Jan 2001 16:56:11 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: imp 2.3.6 release?

Any objections to cutting loose 2.3.6 as a tarball? I'm not willing to promise 
that APIs are completely stable yet, but I think we're in pretty good shape...

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues