Logfile::EPrints::Session - Simple session class


Logfile-EPrints documentation  | view source Contained in the Logfile-EPrints distribution.

Index


NAME

Top

Logfile::EPrints::Session - Simple session class

METHODS

Top

$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.


Logfile-EPrints documentation  | view source Contained in the Logfile-EPrints distribution.