Mailing List Archive

session LastUpdated
Hi,

is it really the intended behavior that auto page refreshes (like
HomeRefreshInterval) update the session's LastUpdated?
I would assume that only "user initiated actions" would update the
session's LastUpdated.

Example:
A user sets a HomeRefreshInterval of 2 minutes and then go for a 3 week
holiday. As the session's LastUpdated is updated every 2 minutes, the
user session would never by deleted by sbin/rt-clean-sessions.

Chris

Christian Loos
Smallworld GIS Operations
_________________________________________________________________________
NETCOLOGNE Gesellschaft für Telekommunikation mbH
Am Coloneum 9 | 50829 Köln
Tel: 0221 2222-276 | Fax: 0221 2222-7276 | Mobil: 0177 8888276

www.netcologne.de

Geschäftsführung:
Jost Hermanns
Mario Wilhelm
Vorsitzender des Aufsichtsrates:
Dr. Andreas Cerbe
HRB 25580, AG Köln


Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Die E-Mail darf in diesem Fall weder vervielfältigt noch in anderer Weise verwendet werden.


--
RT Training - November 4-5 Los Angeles
http://bestpractical.com/training
Re: session LastUpdated [ In reply to ]
On Mon, Oct 27, 2014 at 11:22:37AM +0100, Christian Loos wrote:
> is it really the intended behavior that auto page refreshes (like
> HomeRefreshInterval) update the session's LastUpdated?
> I would assume that only "user initiated actions" would update the
> session's LastUpdated.

The last time I looked into this, the LastUpdated column was wildly
inconsistent depending on database backend.

> A user sets a HomeRefreshInterval of 2 minutes and then go for a 3 week
> holiday. As the session's LastUpdated is updated every 2 minutes, the
> user session would never by deleted by sbin/rt-clean-sessions.

I believe the example I call out here is that REST doesn't update the
session after login
http://issues.bestpractical.com/Ticket/Display.html?id=19715

Note that LastUpdated is not used properly, as pointed out by that
ticket.

So, there are a number of issues here.

-kevin