Re: [PHP4BETA] How to enable Session tracking module

From: Date: Sun, 18 Jul 1999 01:18:18 +0000
Subject: Re: [PHP4BETA] How to enable Session tracking module
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-2212@lists.php.net to get a copy of this message
Thank you so much! One other question. I noticed the setting: session.save_handler = files And I remember you talking about the fact that creating a new type of session repository, besides files, would easy/trivial and would be done by the end user. I am looking forward to creating one for Oracle 8. Can you give me any pointers. Thanks again! -J Sascha Schumann wrote: > > On Sat, Jul 17, 1999 at 08:39:29PM -0400, Juan A. Pons wrote: > > Hello, > > > > I am testing out B1 and did a ./configure --help to figure out the > > options I available and noticed that there is no mention of the session > > extension. Since the dir for session is there I am assuming it works and > > it's available. Am I right in assuming you enable it like this: > > --enable-session? > > It's currently always on. > > > Also, how is it configured? There is no setting for it in the php.ini > > I've just committed some changes which address your request. > > The defaults should be fine for almost everyone. > > Here is a short example which demonstrates how the session > support works. Note that you need session_register() only once, > even if you don't set the registered variable to a value, the > session module will remember it the next time. > > session_register automatically starts a new session, if > necessary. > > -------session.php------------------------------------------- > <? > > session_register("count"); > > if($count++ > 0) > echo "Welcome back! You have visited this site $count times!"); > > ?> > > <P> > > <A HREF="session.php?<?=sid?>">Click here</a> to count up. > ------------------------------------------------------------- > > -- > > Regards, > > Sascha Schumann > Consultant > > -- > PHP 4 Beta -- ---------------------------------------- | http://motosite.com | | Your motorcycle resource on the web! | ---------------------------------------- | Juan A. Pons | | jpons@motosite.com | | '98 VFR800 - '88 NT650 (Hawk) | | AMA 368441 - HRCA | ----------------------------------------

« previous php.version4 (#2212) next »