Re: session question

From: Date: Mon, 16 Jun 2003 05:00:20 +0000
Subject: Re: session question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151631@lists.php.net to get a copy of this message
On 16-Jun-2003 Matt Palermo wrote: > When a session is started on my server, it gets a name in the > "sessiondata" folder like: > > sess_8sjg4893m9d0j43847dk4o5l2 > > > I was just wondering if all sessions on ANY server start with "sess_"? > Is this a PHP-wide default, or can it be changed (not that I want to > change it, I just want to know if it can be changed)? > localhost.root# grep -r sess_ * ext/session/mod_files.c:#define FILE_PREFIX "sess_" Modify session/mod_files.c & recompile. -- or you can try your own handler: http://www.php.net/manual/en/function.session-set-save-handler.php Regards, -- Don Read dread@texas.net -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it.

« previous php.general (#151631) next »