Tim Brody > Logfile-EPrints-1.20 > Logfile::EPrints::Session

Download:
Logfile-EPrints-1.20.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

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.

syntax highlighting: