Session::Store::File(3) User Contributed Perl Documentation Session::Store::File(3)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.12.1 2007-09-28 Session::Store::File(3)
Check Out this Related Man Page
Apache::Session::Browseable::Store::LDAP(3pm) User Contributed Perl Documentation Apache::Session::Browseable::Store::LDAP(3pm)NAME
Apache::Session::Browseable::Store::LDAP - Use LDAP to store persistent objects
SYNOPSIS
use Apache::Session::Browseable::Store::LDAP;
my $store = new Apache::Session::Browseable::Store::LDAP;
$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 an LDAP directory file using the
Net::LDAP Perl module.
OPTIONS
This module requires one argument in the usual Apache::Session style. The keys ldapServer, ldapBase, ldapBindDN, ldapBindPassword are
required. The key ldapPort is optional. Example:
tie %s, 'Apache::Session::Browseable::LDAP', undef,
{
ldapServer => 'localhost',
ldapBase => 'dc=example,dc=com',
ldapBindDN => 'cn=admin,dc=example,dc=com',
ldapBindPassword => 'pass',
Index => 'uid ipAddr',
};
AUTHOR
Xavier Guimard, <guimard@>
COPYRIGHT AND LICENSE
Copyright (C) 2010 by Xavier Guimard
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or,
at your option, any later version of Perl 5 you may have available.
SEE ALSO
Apache::Session
perl v5.14.2 2010-12-08 Apache::Session::Browseable::Store::LDAP(3pm)
Hi,
If I have a directory full of say 100 random files, and I would like to organize them, for example: FILE001, FILE002, FILE003, FILE004, etc.
How would I do this from Terminal, instead of manually changing each file? I'm using Mac OS X, if that makes a difference.
Thank you in advance... (8 Replies)
Hi all.
Well, I have the next code:
I need to make an array with the values I have in the bucle, but just don't get it...
Question is, how can I store in an array that values, and how can I display them with echo? (8 Replies)
I am new in Linux configure Apache. I got few questions to ask. I am will grateful for the help. Thanks.
1) In the Apache Configuration File, where is actually the base for the web tree?
2) I wanted to create a directory (called java) inside the base of the web tree. How am I going to do... (5 Replies)
Hi everyone.
Im really new here, so please have patience with me if i act out of order in any way. I do have some unix experience, but i would not call it extensive.
The problem i am about to describe probably have a easy solution, but i have been unable to find it while speaking to Mr.Google... (4 Replies)
Hi
I want to store the file names into an array.
I have written like this but I am getting error.
declare -A arr_Filenames
ls -l *.log | set -A arr_Filenames $(awk '{print $9}')
index=0
while (( $index < ${#arr_Filenames
})); do
Current_Filename=${arr_Filenames}
... (5 Replies)
Hi All,
In my Big brother monitoring, I can see File table is 97.4% full. On searching more, I can see it is complaining for kernel open files, it seems.
If it is issue of too many open files, can we resolve it with reboot ?
# /usr/local/bin/lsof | wc -l
89132
/# /usr/local/bin/lsof | grep... (4 Replies)
Hi friends,
I have this problem that I am facing, I want to store an argument which is passed to main, and I want to store it as an array of characters. I can store number arguments with the help of x = atoi(argv). Now suppose I passed the argument Hello to main, how can I store it somewhere in my... (6 Replies)
hi all
i need to generate a report file that contains the following details of files present in a directory.
1. File name
2.Complete path for each files and directory
3.File size
4.Days older
example i have a directory testing that contains sub-directories and some files.
i need to make a... (5 Replies)
Hi All,
I am trying to find 4 latest files inside one folder having following File Name pattern and store them into 4 different variables and then use for processing in my shell script. File name is fixed length.
1) Each file starts with = ABCJmdmfbsjop letters + 7 Digit Number... (6 Replies)
Hi everybody
I wanna store some values that r in a .txt file in some arrays
for example I have:
32782 28
32783 02
32784 01
32785 29
32786 25
32787 25
32788 00
32789 25
32790 02
32791 29
32792 23
32793 01
32794 28
and I need to save the first... (4 Replies)
I have two files, called "File A" and "File B".
File A
hdisk120:
iprod_0000151
dprod_0000135
iprod_0000148
dprod_0000148
iprod_0000157
iprod_0000155
hdisk118:
dprod_0000141
dprod_0000134
dprod_0000155
iprod_0000166
dprod_0000129
lprod_0000017
iprod_0000146 (5 Replies)
hi
I have a few folders and a few files , for example
Directory A B C D E
Files 1 2 3 4 5
I want B directory and "2" File that does not sync
But other directories and file sync
What is the solution ?
Is there a way to sync time is under one minute?
os centos 6.8
thanks... (5 Replies)
Hello,
I have two files of the following form. I would like to remove from File.A where the first three colum matches values in File.B to give the output in File.C
File.A
121 54321 PQR CAT
122 765431 ABC DOG
124 98765 ZXY TIGER
125 86432 GEF LION
File.B
122 765431 ABC
125 86432 GEF... (4 Replies)
i need to remove a file the problem is it will not let me remove a file because it thought that i was instructing it to remove a directory. the issue was that the file and directory has the same name.
drwxrwxr-x 2 ora102 lpsgrp 256 Apr 03 2009 sql
drwxrwxr-x 2 ora102 ... (12 Replies)