Re: Session store in memory.

From: Date: Wed, 26 Mar 2003 15:51:07 +0000
Subject: Re: Session store in memory.
Groups: php.internals 
Request: Send a blank email to internals+get-306@lists.php.net to get a copy of this message
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 ================================================================

« previous php.internals (#306) next »