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

    Apache::Session::Store::CacheAny 0.03

    Download button

    No screenshots available
    Downloads: 371  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Tatsuhiko Miyagawa | More programs
    Perl Artistic License / FREE
    October 14th, 2007, 09:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Apache::Session::Store::CacheAny description

    A module which can use Cache::* for Apache::Session storage

    Apache::Session::Store::CacheAny module can use Cache::* for Apache::Session storage.

    SYNOPSIS

    tie %auto_expire_session, 'Apache::Session::CacheAny', $sid, {
    CacheImpl => 'Cache::SizeAwareFileCache',
    DefaultExpiresIn => '2 hours',
    };

    # or use with another locking scheme!

    use Apache::Session::Flex;

    tie %hash, 'Apache::Session::Flex', $id, {
    Store => 'CacheAny',
    Lock => 'File',
    Generate => 'MD5',
    Serialize => 'Storable',
    CacheImpl => 'Cache::SharedMemoryCache',
    };

    Apache::Session::Store::CacheAny implpements the storage interface for Apache::Session. Session data is stored using one of Cache::Cache imeplementations.

    CONFIGURATIONS

    This module wants to know standard options for Cache::Cache. You can specify these options as Apache::Session's tie options like this:

    tie %size_aware_session, 'Apache::Session::CacheAny', $sid, {
    CacheImpl => 'Cache::SizeAwareFileCache',
    Namespace => 'apache-session-cacheany',
    DefaultExpiresIn => '2 hours',
    AutoPurgeOnGet => 0,
    AutoPurgeOnSet => 1,
    MaxSize => 10_000,
    CacheRoot => '/tmp',
    CacheDepth => 3,
    DirectoryUmask => 077,
    };


    Note that spelling of options are slightly differernt from those for Cache::Cache. Here is a conversion table.

    A::S::Store::CacheAny => Cache::Cache
    -----------------------------------------
    Namespace => namespace
    DefaultExpiresIn => default_expires_in
    AutoPurgeInterval => auto_purge_interval
    AutoPurgeOnSet => auto_purge_on_set
    AutoPurgeOnGet => auto_purge_on_get
    MaxSize => max_size
    CacheRoot => cache_root
    CacheDepth => cache_depth
    DirectoryUmask => directory_umask


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Apache::Session storage | cache classes | Perl module | module | storage | cache

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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