Instead of only deleting 1 old session, delete all old sessions
batje - September 4, 2009 - 14:05
| Project: | Session Limit |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
When I switched on the module on a year-old website, I was forced to manually one-by-one delete my previous 50+ sessions.
This patch wipes all previous sessions up to the amount except session_limit_max , when session_limit_auto_drop is enabled.
| Attachment | Size |
|---|---|
| session_limit_disconnect_all_v1.patch | 1.32 KB |

#1
Maybe I'm just reading the patch wrong, but it looks like it finds only 1 row that is the oldest session and kills that one. Shouldn't it disconnect *all* the oldest sessions leaving only the sessions left in the permissible limit range?
#2
Indeed, i did swap the two filenames while creating the patch.
#3
changed status