Apache::Session::Flex man page on Alpinelinux

Man page or keyword search:  
man Server   18016 pages
apropos Keyword Search (all sections)
Output format
Alpinelinux logo
[printable version]

Apache::Session::Flex(User Contributed Perl DocumentatApache::Session::Flex(3)

NAME
       Apache::Session::Flex - Specify everything at runtime

SYNOPSIS
	use Apache::Session::Flex;

	tie %hash, 'Apache::Session::Flex', $id, {
	   Store     => 'DB_File',
	   Lock	     => 'Null',
	   Generate  => 'MD5',
	   Serialize => 'Storable'
	};

	# or

	tie %hash, 'Apache::Session::Flex', $id, {
	   Store     => 'Postgres',
	   Lock	     => 'Null',
	   Generate  => 'MD5',
	   Serialize => 'Base64'
	};

	# you decide!

DESCRIPTION
       This module is an implementation of Apache::Session.  Unlike other
       implementations, it allows you to specify the backing store, locking
       scheme, ID generator, and data serializer at runtime.  You do this by
       passing arguments in the usual Apache::Session style (see SYNOPSIS).
       You may use any of the modules included in this distribution, or a
       module of your own making.  If you wish to use a module of your own
       making, you should make sure that it is available under the
       Apache::Session package namespace.

USAGE
       You pass the modules you want to use as arguments to the constructor.
       The Apache::Session::Whatever part is appended for you: you should not
       supply it.  For example, if you wanted to use MySQL as the backing
       store, you should give the argument "Store =" 'MySQL'>, and not "Store
       =" 'Apache::Session::Store::MySQL'>.  There are four modules that you
       need to specify.	 Store is the backing store to use.  Lock is the
       locking scheme.	Generate is the ID generation module.  Serialize is
       the data serialization module.

       There are many modules included in this distribution.  For each role,
       they are:

	Store:
	   MySQL
	   Postgres
	   DB_File
	   File

	Lock:
	   Null
	   MySQL
	   Semaphore

	Generate:
	   MD5

	Serialize:
	   Storable
	   Base64
	   UUEncode

       In addition to the arguments needed by this module, you must provide
       whatever arguments are expected by the backing store and lock manager
       that you are using.  Please see the documentation for those modules.

AUTHOR
       This module was written by Jeffrey William Baker <jwbaker@acm.org>.

SEE ALSO
       Apache::Session::File, Apache::Session::DB_File,
       Apache::Session::MySQL, Apache::Session::Postgres, Apache::Session

perl v5.18.2			  2014-05-14	      Apache::Session::Flex(3)
[top]

List of man pages available for Alpinelinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net