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.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    App::Session::Cookie 0.968

    Download button

    No screenshots available
    Downloads: 373  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Stephen Adkins | More programs
    Perl Artistic License / FREE
    February 8th, 2009, 19:58 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    App::Session::Cookie description

    A session whose state is maintained across HTML requests by being embedded in an HTTP cookie.

    App::Session::Cookie - a session whose state is maintained across HTML requests by being embedded in an HTTP cookie.

    SYNOPSIS

     # ... official way to get a Session object ...
     use App;
     $session = App->session();
     $session = $session->session(); # get the session

     # any of the following named parameters may be specified
     $session = $session->session(
     );

     # ... alternative way (used internally) ...
     use App::Session::Cookie;
     $session = App::Session->new();


    A Session class models the sequence of events associated with a use of the system. These events may occur in different processes. Yet the accumulated state of the session needs to be propagated from one process to the next.

    This Session::Cookie maintains its state across HTML requests by being embedded in an HTTP cookie. As a result, it requires no server-side storage, so the sessions never need to time out.

    The Session::Cookie has an advantage over Session::HTMLHidden in that data does not need to be posted to a URL for the session data to be transmitted to it. This allows that the state can be propagated properly to sub-components of an HTML page such as

    * frame documents within a frameset (< frame src=... >)
    * dynamically generated images (< img src=... >, < input type=image src=... >)


    Limits on cookie storage are as follows, according to "Dynamic HTML, The Definitive Reference" by O'Reilly in the DOM Reference under "document.cookie".

    * max 2000 chars per cookie (recommended, although 4000 supposedly allowed)
    * max 20 cookies per domain


    This allows for roughly 40K of session storage. It is quite conceivable that this amount of storage could be overrun, so Session::Cookie is only appropriate in situations where you are confident it will not be. Also, session_objects should take care to clean up after themselves, and static values stored in the session can alternatively be provided in the config.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    session cookie | Perl module | Perl | session | cookie

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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