[pmwiki-users] User name prefix for sessions with AuthUser

kirpi at kirpi.it kirpi at kirpi.it
Tue Nov 4 14:59:54 CST 2008


I have a little wiki which is protected with AuthUser.
Users provide id and password in order to login.

As far as I could see, there is a folder in the system where some
sessions files are stored: they all start with "sess_" and then a
random number follows.
I guessed these files keep track of the currently logged in users.

If I want to force any user to logout I just delete it's session file
and (as far as I could find) such user is logged out of the system.
Now, in case I guessed right:
a) is there a way to let the files have a prefix, so that one can tell
the owner (john_sess_...)? Maybe a setting into config.php?
b) is there a way to delete them (maybe have them listed in an ad hoc
admin page) other from using an ftp client?

This way on could keep track of who is in the system and possibly
force him/her out of the system in case of need.

Thank you
Luigi



More information about the pmwiki-users mailing list