Michael Robinton > Mail-SpamCannibal > Mail::SpamCannibal::Session

Download:
Mail-SpamCannibal-1.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.04   Source  

NAME ^

Mail::SpamCannibal::Session - session management utilities

SYNOPSIS ^

  use Mail::SpamCannibal::Session qw(
        encode
        decode
        mac
        new_ses
        clean
        validate
        sesswrap
  );

  $encoded = encode($string);
  $string = decode($encoded);
  $mac = mac(@elements);
  $sess_id=new_ses($base64ID,$session_dir,\$error,$ses_val);
  $var = clean($tainted);
  $user=validate($session_dir,$sess_id,$secret,\$error,$expire);
  ($user,$content,$file)=validate($session_dir,$sess_id,$secret,\$error,$expire);
  $rv = sesswrap($command,$stdin);

DESCRIPTION ^

Mail::SpamCannibal::Session provides utilities to manage web sessions.

DEPENDENCIES ^

        none

EXPORT_OK ^

        encode
        decode
        mac
        new_ses
        validate
        sesswrap

COPYRIGHT ^

Copyright 2003 - 2005 , Michael Robinton <michael@bizsystems.com>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

AUTHOR ^

Michael Robinton <michael@bizsystems.com>

syntax highlighting: