Martin,
> 1.)
>
> is there a nice way to detect all active sessions on the webserver
> from within the cgi-script?
>
> i would like to implement a small "who's online" feature. it would be
> possible to store each user
> activity with a timestamp on the server and take a look at it with
> the eye on the auto-session-timeout
> time, but maybe there's a better way directly with cgi::session itself?
If you use a SQL driver, then you can easily query the database. I
recommend using SQL driver.
> 2.)
>
> all the sessions that expired on the server aren't removed from the
> given directory, do you know a nice
> way to detect and delete all expired session files on the server.
Consider CGI::Session::ExpireSessions
http://search.cpan.org/perldoc?CGI::Session::ExpireSessions
Mark
|