The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::SSLeay::OO::Session - representation of SSL_SESSION* objects

SYNOPSIS

 my $session = $ssl->get_session;

 say "Your SSL session has been active for ".
     (time - $session->get_time)."s";

DESCRIPTION

This is a wrapper for SSL_SESSION methods. defined methods are:

get_time()
set_time($epoch)

Get/set the time that this SSL session was established.

get_timeout()
set_timeout($epoch)

Set the timeout value for the session. See SSL_SESSION_set_timeout(3ssl).

AUTHOR

Sam Vilain, samv@cpan.org

COPYRIGHT

Copyright (C) 2009 NZ Registry Services

This program is free software: you can redistribute it and/or modify it under the terms of the Artistic License 2.0 or later. You should have received a copy of the Artistic License the file COPYING.txt. If not, see <http://www.perlfoundation.org/artistic_license_2_0>

SEE ALSO

Net::SSLeay::OO, Net::SSLeay::OO::SSL