CGI-MxScreen
view release on metacpan or search on metacpan
MxScreen/Session/Medium/File.pm view on Meta::CPAN
#
# Session storage is a file, indexed by a session ID.
#
# In the generated HTML, the session is identified by two parameters:
#
# _mxscreen_session the session ID
# _mxscreen_token a random token, saved with context
#
# The random token is generated each time the context is saved to the file.
# It is used at retrieve time to validate the session ID: noone could guess
# both the session ID and the associated token at the same time.
#
# Note that since we generate a token each time we save, using "Back" from
# the browser to resubmit an old form is bound to fail, since the token
# will have changed.
#
# It is up to the user to ensure that old session files are removed from the
# file system, according to a suitable session expiring policy.
#
( run in 0.717 second using v1.01-cache-2.11-cpan-748bfb374f4 )