PHP::Session

A Perl module to read / write PHP session files.
Download

PHP::Session Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tatsuhiko Miyagawa
  • Publisher web site:
  • http://search.cpan.org/~miyagawa/

PHP::Session Tags


PHP::Session Description

A Perl module to read / write PHP session files. PHP::Session is a Perl module to read / write PHP session files.SYNOPSIS use PHP::Session; my $session = PHP::Session->new($id); # session id my $id = $session->id; # get/set session data my $foo = $session->get('foo'); $session->set(bar => $bar); # remove session data $session->unregister('foo'); # remove all session data $session->unset; # check if data is registered $session->is_registered('bar'); # save session data $session->save; # destroy session $session->destroy; # create session file, if not existent $session = PHP::Session->new($new_sid, { create => 1 });PHP::Session provides a way to read / write PHP4 session files, with which you can make your Perl application session shared with PHP4.If you like Apache::Session interface for session management, there is a glue for Apache::Session of this module, Apache::Session::PHP. Requirements: · Perl What's New in This Release: · A shared lock was added when reading a session file.


PHP::Session Related Software