Ticket #717 (defect)
Opened 9 months ago
Last modified 2 months ago
sessions should have a __len__ function
Status: closed (fixed)
| Reported by: | guest | Assigned to: | fumanchu |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | CherryPy code | Keywords: | |
| Cc: |
It is sometimes useful to know how many active session there are.
Sessions should have a len function to return number of active sessions. This would save people from needing to use hacky methods to count sessions.
Attachments
Change History
08/22/07 14:59:38: Modified by guest
- attachment session_len.patch added.
08/22/07 15:01:31: Modified by guest
08/22/07 15:52:27: Modified by samtygier@yahoo.co.uk
i did not realise i need to put my email address in.
writing the postgresql part of the patch is probably best left to someone other than me. i have not used the python database interface before, and don't have a postgresql server set up for testing.
01/16/08 17:14:32: Modified by fumanchu
- owner changed from rdelon to fumanchu.
- status changed from new to assigned.
- milestone set to 3.1.
01/17/08 02:00:14: Modified by fumanchu
RAM, File implemented in [1868]. Still needs PG, Memcached methods.
03/14/08 10:18:49: Modified by fumanchu
- status changed from assigned to closed.
- resolution set to fixed.
MC done in [1922].


the patch implements this for RAM and file storage