Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

plack::session::store(3pm) [debian man page]

Plack::Session::Store(3pm)				User Contributed Perl Documentation				Plack::Session::Store(3pm)

NAME
Plack::Session::Store - Basic in-memory session store SYNOPSIS
use Plack::Builder; use Plack::Middleware::Session; use Plack::Session::Store; my $app = sub { return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ]; }; builder { enable 'Session'; # this is the defalt store $app; }; DESCRIPTION
This is a very basic in-memory session data store. It is volatile storage and not recommended for multiprocessing environments. However it is very useful for development and testing. This should be considered the store "base" class (although subclassing is not a requirement) and defines the spec for all Plack::Session::Store::* modules. You will only need to override a couple methods if you do subclass. See the other Plack::Session::Store::* for examples of this. METHODS
new ( %params ) No parameters are expected to this constructor. Session Data Management These methods fetch data from the session storage. It's designed to store or delete multiple keys at a time. fetch ( $session_id ) store ( $session_id, $session ) Storage Management remove ( $session_id ) This method is called by the Plack::Session "expire" method and is used to remove any session data. BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT. AUTHOR
Stevan Little <stevan.little@iinteractive.com> COPYRIGHT AND LICENSE
Copyright 2009, 2010 Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-03-29 Plack::Session::Store(3pm)

Check Out this Related Man Page

Apache::Session::Store::File(3pm)			User Contributed Perl Documentation			 Apache::Session::Store::File(3pm)

NAME
Apache::Session::Store::File - Store persistent data on the filesystem SYNOPSIS
use Apache::Session::Store::File; my $store = new Apache::Session::Store::File; $store->insert($ref); $store->update($ref); $store->materialize($ref); $store->remove($ref); DESCRIPTION
This module fulfills the storage interface of Apache::Session. The serialized objects are stored in files on your filesystem. OPTIONS
This module requires one argument in the usual Apache::Session style. The name of the option is Directory, and the value is the full path of the directory where you wish to place the files. Example tie %s, 'Apache::Session::File', undef, {Directory => '/tmp/sessions'}; NOTES
All session objects are stored in the same directory. Some filesystems, such as Linux's ext2fs, have O(n) performance where n is the number of files in a directory. Other filesystems, like Sun's UFS, and Linux's reiserfs, do not have this problem. You should consider your filesystem's performance before using this module to store many objects. AUTHOR
This module was written by Jeffrey William Baker <jwbaker@acm.org>. SEE ALSO
Apache::Session perl v5.10.1 2010-10-18 Apache::Session::Store::File(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Store highest filename from ls command to a variable

I am sure it has been answered in some form or the other in this forum but trust me I have spent last couple of hours looking for an answer but can't find it. I want to do a very simple operation within my script. Let's say I have 4 files with the names file1.log, file2.log, file3.log and... (6 Replies)
Discussion started by: sssccc
6 Replies

2. Shell Programming and Scripting

Store Large data in Variable in csh

Hi All, This is my first post!! :) How to store huge data in a single variable in csh. Right now i can store upto ~700kb of data. I still want to store more data and i dont want to use perl. Is there any method to store like that...Please let me know.. Thanks (3 Replies)
Discussion started by: vickra
3 Replies

3. Shell Programming and Scripting

How to read values and store in array?

I am reading a value from a file and want to store the value in a dynamic array as i don't know the number of occurrences of the value in that file. How can i do that and then later fetch that value from array (25 Replies)
Discussion started by: Prachi Gupta
25 Replies