Re: [PHP] Handling sessions between servers?

2001-09-18 Thread Chris Lee
using mysql is an excelent choice, if your not using a db Ive seen people pass the data raw echo a href='http://www.mediawaveonline.com/index.php?session_data=;. base64_encode(session_encode()) .'mediawaveonline.com/a ; then session_decode(base64_decode($session_data)); its ugly, but it

[PHP] Handling sessions between servers?

2001-09-17 Thread Michael Champagne
Is it possible to handle sessions with PHP between separate web servers? We have 2 Apache servers and would like to share session data between them. If we keep the session data on an NFS mounted drive -- will this work? Would it be better to write custom session handlers to store session data

RE: [PHP] Handling sessions between servers?

2001-09-17 Thread Hoover, Josh
You can use NFS shares, but I've read that it is too slow for most situations. My suggestion would be to use a database and use a custom PHP session handler. A really good tutorial (including working code) on how to write custom PHP session handlers utilizing a database can be found at the