Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    MasonX::Request::WithApacheSession 0.31

    Download button

    No screenshots available
    Downloads: 216  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Brad Lhotsky | More programs
    Perl Artistic License / FREE
    April 12th, 2010, 03:31 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    MasonX::Request::WithApacheSession description

    Add a session to the Mason Request object

    MasonX::Request::WithApacheSession is a Perl module that integrates Apache::Session into Mason by adding methods to the Mason Request object available in all Mason components.

    Any subrequests created by a request share the same session.

    SYNOPSIS

    In your httpd.conf file:

     PerlSetVar MasonRequestClass MasonX::Request::WithApacheSession
     PerlSetVar MasonSessionCookieDomain .example.com
     PerlSetVar MasonSessionClass Apache::Session::File
     PerlSetVar MasonSessionDirectory /tmp/sessions/data
     PerlSetVar MasonSessionLockDirectory /tmp/sessions/locks


    Or when creating an ApacheHandler object:

     my $ah =
     HTML::Mason::ApacheHandler->new
     ( request_class => 'MasonX::Request::WithApacheSession',
     session_cookie_domain => '.example.com',
     session_class => 'Apache::Session::File',
     session_directory => '/tmp/sessions/data',
     session_lock_directory => '/tmp/sessions/locks',
     );


    In a component:

     $m->session->{foo} = 1;
     if ( $m->session->{bar}{baz} > 1 ) { ... }



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Mason Request object | Perl module | Mason | request | object

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM