[Zope] Session timeout

Peter Bengtsson mail@peterbe.com
Tue, 20 Aug 2002 17:11:26 +0100


--=======56A1754=======
Content-Type: text/plain; x-avg-checked=avg-ok-529C277C; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit

How can I in an easy way find out when a session expires?

On way would be to store in the session "SessionSetDateTime" and then look 
at the session_data object and do the math.
Before I do that I just wanna check if there already is a way to do this 
stuff. Is there.
Like
<dtml-var "REQUEST.SESSION.expiresWhen()">
or
<dtml-var "REQUEST.SESSION.minutesLeft()">

--=======56A1754=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-529C277C
Content-Disposition: inline


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 2002-08-02

--=======56A1754=======--