Re: Session store in memory.

From: Date: Wed, 26 Mar 2003 18:15:10 +0000
Subject: Re: Session store in memory.
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-319@lists.php.net to get a copy of this message
This is not the list you are looking for. Please move this discussion to php-general. On Wednesday, March 26, 2003, at 10:51 AM, Ján Šuňavec wrote:
Thanks for that. I think for Linux is better use --with-mm. But I use windows, and i don't know compile PHP. Can you compile next PHP version with this switch on? After that users can set session.save_path=mm and use session store in memory..
           Akelavlk
You can do this your self using shared memory segments and custom
session handling functions. There are lts of good reasons to leave
them
in files, one is that you can have an NFS volume that a group of
servers
can share letting you have the luxury of sessions behind a
loadbalancer.
On Wed, 2003-03-26 at 08:02, Ján Šuňavec wrote:
Hi
I have one idea. Store session data in memory instead file. It's
fast
when file. Yes I know when script is finish all data is delete.
But
this can be same like file session. But in memory.
        Akelavlk
====================== REKLAMA =================================
Vyrazne zlavy pocitacov a prislusenstva
Toshiba Pocket PC e740 v cench u? od 24.300,- Sk bez DPH
Navstivte nas na adrese http://www.somi.sk/akcie.php
================================================================
--
Chris Field
cfield@affinitysolutions.com
Affinity Solutions Inc.
386 Park Avenue South
Suite 1209
New York, NY 10016
(212) 685-8748 ext. 32
====================== REKLAMA ================================= Vyrazne zlavy pocitacov a prislusenstva Toshiba Pocket PC e740 v cench u? od 24.300,- Sk bez DPH Navstivte nas na adrese http://www.somi.sk/akcie.php ================================================================ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#319) next »