note 13367 added to function.session-decode.php
| From: | tychay at mac dot com | Date: | Wed, 13 Jun 2001 15:52:55 +0000 |
| Subject: | note 13367 added to function.session-decode.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14328@lists.php.net to get a copy of this message | ||
To answer the above question. After you compile "--with-mm", you set the
session-save_handler to "mm" (the default is "file"), It will then use the
shared memory module instead of the file based system--this should increase speed and make it
resemble ASP sessions in performance.
Remember, like ASP sessions, this won't work for most configurations of web farms (in ASP, you
build your own handler or use MS Site server) so you'll still need to make your own save
handler for those. Most people use a database and there are many tutorials, Site server uses LDAP (I
don't know why since LDAP is not appropriate for this sort of data).
If you are having trouble getting the compile flag to work, remember to install the "MM"
package (try FreshMeat).
Now if only PHP used MM to maintain database connection pools...
-terry
http://www.php.net/manual/en/function.session-decode.php