NAME
Logfile::EPrints::Session - Simple session class
METHODS
- $session->expired_by( $hit )
-
Returns true if this session would be expired before $hit occurred. NOTE for the purposes of tidyup $hit may not be from the same address as the session.
- $session->start_session( $hit )
-
A new session has started with $hit.
- $session->end_session
-
The session has expired/finished.
- $session->total( [ $type ] )
-
Return the total number of requests in this session or, if $type is given, total unique requests (by identifier) for $type.