FS::SessionClient - Freeside session client API
use FS::SessionClient qw( login portnum logout );
$error = login ( { 'username' => $username, 'password' => $password, 'login' => $timestamp, 'portnum' => $portnum, } );
$portnum = portnum( { 'ip' => $ip } ) or die "unknown ip!" $portnum = portnum( { 'nasnum' => $nasnum, 'nasport' => $nasport } ) or die "unknown nasnum/nasport";
$error = logout ( { 'username' => $username, 'password' => $password, 'logout' => $timestamp, 'portnum' => $portnum, } );
This modules provides an API for a remote session application.
It needs to be run as the freeside user. Because of this, the program which calls these subroutines should be written very carefully.
Returns a scalar error message, or the empty string for success.
Returns a scalar error message, or the empty string for success.
$Id: SessionClient.html,v 1.1 2001-07-30 07:36:03 ivan Exp $
fs_sessiond