Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

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 <>. SEE ALSO
Apache::Session perl v5.10.1 2010-10-18 Apache::Session::Store::File(3pm)

Check Out this Related Man Page

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

Apache::Session::Store::Postgres - Store persistent data in a Postgres database SYNOPSIS
use Apache::Session::Store::Postgres; my $store = new Apache::Session::Store::Postgres; $store->insert($ref); $store->update($ref); $store->materialize($ref); $store->remove($ref); DESCRIPTION
Apache::Session::Store::Postgres fulfills the storage interface of Apache::Session. Session data is stored in a Postgres database. SCHEMA
To use this module, you will need at least these columns in a table called 'sessions', or another name if you supply the TableName parameter. id char(32) # or however long your session IDs are. a_session text # This has an ~8 KB limit :( To create this schema, you can execute this command using the psql program: CREATE TABLE sessions ( id char(32) not null primary key, a_session text ); If you use some other command, ensure that there is a unique index on the table's id column. CONFIGURATION
The module must know what datasource, username, and password to use when connecting to the database. These values can be set using the options hash (see Apache::Session documentation). The options are: DataSource UserName Password Handle TableName Example: tie %hash, 'Apache::Session::Postgres', $id, { DataSource => 'dbi:Pg:dbname=database', UserName => 'database_user', Password => 'K00l' }; Instead, you may pass in an already-opened DBI handle to your database. tie %hash, 'Apache::Session::Postgres', $id, { Handle => $dbh }; AUTHOR
This modules was written by Jeffrey William Baker <> A fix for the commit policy was contributed by Michael Schout <> SEE ALSO
Apache::Session, Apache::Session::Store::DBI perl v5.10.1 2010-10-18 Apache::Session::Store::Postgres(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. HP-UX

Mod_ssl patch for Apache server v2.0.49

Hi there, Please help, anyone know where to download latest Mod_SSL patch for Apache server v2.0.49 . Have tried but there is not latest patch available. (8 Replies)
Discussion started by: e_jeffhang
8 Replies

2. UNIX for Dummies Questions & Answers

Error about SSLProtocol when starting Apache

I just installed Apache 2.2.6 & when trying to start it i got this: Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration Any help? (3 Replies)
Discussion started by: moe2266
3 Replies

3. UNIX for Dummies Questions & Answers

Change All File Names in a Directory

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)
Discussion started by: andou
8 Replies

4. Web Development

Apache Configuration File

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)
Discussion started by: newlinuxuser
5 Replies

5. Web Development

Apache - redirecting authenticated users to other sites

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)
Discussion started by: antiw2k3
4 Replies

6. Shell Programming and Scripting

How to store files names from a directory to an array

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)
Discussion started by: dgmm
5 Replies

7. Solaris

File Table full problem

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)
Discussion started by: solaris_1977
4 Replies

8. Programming

How to store argv[x] in my program???

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)
Discussion started by: gabam
6 Replies

9. Shell Programming and Scripting

File Report Generation

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)
Discussion started by: yashwantkumar
5 Replies

10. Red Hat

Patch Rhel5.4

Hi, I am managing a Few Applications (like Apache,Jboss) running on RHEL 5.4. I have just been notified that these servers need to be patched. My question is ,will the configurations for Apache and Jboss and other applications get disturbed if the server is patched.? If so what precautions... (5 Replies)
Discussion started by: Hari_Ganesh
5 Replies

11. Shell Programming and Scripting

Finding 4 current files having specific File Name pattern

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)
Discussion started by: lancesunny
6 Replies

12. Shell Programming and Scripting

Store value in array with awk

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)
Discussion started by: Behrouzx77
4 Replies

13. AIX

Linux software on AIX 5.3

Hi Team, On a client requirement, we need to install below Linux software on IBM AIX 5.3 operating system, Apache Maven 3.2.3 MySQL 5.1.73, Sonarqube 4.1.2, Apache Tomcat 7.0.42, Jenkins 1.549 Please tell us whether above tool versions are compatible to AIX 5.3 (4 Replies)
Discussion started by: dnr.simha23
4 Replies

14. Shell Programming and Scripting

Rsync exclude & include?

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)
Discussion started by: mnnn
5 Replies

15. UNIX for Beginners Questions & Answers

File and Directory same name

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)
Discussion started by: wtolentino
12 Replies

Featured Tech Videos