View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012909 | mantisbt | feature | public | 2011-04-04 16:00 | 2014-02-02 05:49 |
Reporter | lindalva | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Product Version | 1.2.4 | ||||
Summary | 0012909: number of logged users | ||||
Description | Is there any function where i can know/monitoring exactly how many users are logged in my Mantis application in certain time? version: 1.2.4 | ||||
Tags | No tags attached. | ||||
related to | 0004820 | acknowledged | Would be nice to view who is currently logged in |
This feature does not yet exist because MantisBT doesn't maintain a list of sessions. Instead MantisBT relies upon PHP's built in session management. You can't officially enumerate PHP sessions unless you start using hacks/workarounds. See http://stackoverflow.com/questions/675913/looping-through-all-a-servers-sessions-in-php for an example which only works in specific circumstances. For what you're wanting to do it'd be best to create a new database table within MantisBT that tracks the "last access time" for each user so you can determine approximately how many people were connected within a certain time period. |
|
There is no need for a new database table. |
|
Thanks atrol, good catch:) |
|
Thank you very much |
|