Plack-Middleware-Session

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.30  2015-03-02 10:24:38 PST
        - Fix VERSION

0.29  2015-02-17 15:56:25 PST
        - Moved repo to the plack organization on github

0.28  2015-02-16 08:30:08 PST
        - Same as 0.27. Make it non-trial

0.27  2015-02-13 16:52:11 PST
        - Added late_store in psgix.session.options to update the session after the streaming
          and reverts the default behavior to pre-0.26 (reported by darkkar, fixed by alexmv) #29, #30

0.26  2015-02-03 09:17:38 CET
        - Improved documentation (oalders, basiliscos, Mohammad Anwar, alexmv)
        - Session storage is now updated in the cleanup phase, after the streaming is complete (alexmv) #28

0.25  2014-09-28 20:07:42 PDT
        - Make tests safer for parallel execution. #21

0.24  2014-09-05 04:49:59 PDT
        - No changes since 0.23

0.23  2014-08-11 10:22:40 PDT
        - Changed the warning to error, when secret is not set.

Changes  view on Meta::CPAN

        retained for back-compat, but is deprecated and will be
        removed in future versions)

    * Plack::Session::Store::File
      - changed to lock_* versions of the Storaable functions
        (thanks to Miyagawa)

0.02 Sat. Dec. 19, 2009
    - fixed dependency list (RT #52891) (Thanks to Andreas Koenig)
    - fixed some POD misspellings (Thanks to franckcuny)
    - fixed streaming interface (Thanks to clkao and miyagawa)

0.01 Tues. Dec. 15, 2009
    - Hello CPAN World!

MANIFEST  view on Meta::CPAN

t/002a_basic_w_cookie.t
t/003_basic_w_file_store.t
t/003a_basic_w_file_store.t
t/004_basic_file_w_customs.t
t/004a_basic_file_w_customs.t
t/005_basic_w_cache_store.t
t/005a_basic_w_cache_store.t
t/006_basic_w_dbi_store.t
t/010_middleware.t
t/010a_middleware.t
t/012_streaming.t
t/013_cookiestore.t
t/014_cookie_options.t
t/015_cookie_options_mw.t
t/016_cookiestore_w_customs.t
t/author-pod-syntax.t
t/lib/TestSession.pm
t/lib/TestSessionHash.pm

README  view on Meta::CPAN

    no_store

      If set to a true value, no changes made to the session in this
      request will be saved to the store. Either "expire" and "change_id"
      take precedence over this, as both need to update the session store.

    late_store

      If set to a true value, the session will be saved at the end of the
      request, after all data has been sent to the client -- this may be
      required if streaming responses attempt to alter the session after
      the header has already been sent to the client. Note, however, that
      it introduces a possible race condition, where the server attempts to
      store the updated session before the client makes the next request.
      For redirects, or other responses on which the client needs do
      minimal processing before making a second request, this race is quite
      possible to win -- causing the second request to obtain stale session
      data.

    id

lib/Plack/Middleware/Session.pm  view on Meta::CPAN

=item I<no_store>

If set to a true value, no changes made to the session in this request
will be saved to the store.  Either L</expire> and L</change_id> take
precedence over this, as both need to update the session store.

=item I<late_store>

If set to a true value, the session will be saved at the I<end> of the
request, after all data has been sent to the client -- this may be
required if streaming responses attempt to alter the session after the
header has already been sent to the client.  Note, however, that it
introduces a possible race condition, where the server attempts to store
the updated session before the client makes the next request.  For
redirects, or other responses on which the client needs do minimal
processing before making a second request, this race is quite possible
to win -- causing the second request to obtain stale session data.

=item I<id>

This key contains the session identifier of the session.  It should be



( run in 0.255 second using v1.01-cache-2.11-cpan-4d50c553e7e )