Hi Theodoros,

In data venerdì 24 luglio 2009 13:08:39, [email protected] ha scritto:
: > Hi to all,
>
> Just an idea: wouldn't it very useful if there was a
> tab/page/link/commandline util that would display all the logged in
> invenio users/guests?
>
> For logged in users the username/login datetime and ip (and maybe the
> last executed command/url) could be shown.
>
> Such a feature could come very handy for administration purposes
> (restart of services, debugging etc) and it would seem fairly easy to
> implement. (A subset of this logic already exists in the stats page...)
>
> Best regards,
> Theodoros

IMHO this is a nice addition to have (it can be very useful e.g. to see if 
some users is performing a complex submission. With the new session handling 
just commit in GIT this should also be easy to implement because the user_info 
dictionary (1) is also saved in the session and on the database, and can be 
used to discovered for every logged user what is the URL currently visited and 
other nice information. At the moment this dictionary is stored in the 
database only when the session is first created, but if the performances will 
prove not to degrade, we might store the user_info dictionary upon every 
Apache request, to keep always an up to-date view on the system.

I'll Savannahize your suggestion.

Cheers,
        Sam

(1) <http://cdsware.cern.ch/invenio/code-browser/invenio.webuser-
module.html#collect_user_info> 
the documentation is not mentioning the 'uri' field.
-- 
Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to