Hello everyone, I have a task to figure out the best way to do. I need session management accross multiple servers without using any cookies. How would you' all do this? Thanks in advance...
Hi Brandon,
The best way is to use the session management routines from PHP4.
Not using cookies: To avoid usage of cookies you may pass the session id in the URL or configure PHP with the --enable-trans-sid option to let PHP transparently pass SID. Session sharing across servers To share session between servers, you could : 1 - Store the sessions on an NFS share. This may be slow on heavy loaded systems. 2 - Store the sessions in a DB. Look at Ying Zhang's columns about this subject ( www.phpbuilder.com/columns/ying20000602.php3 ).
Not using cookies: To avoid usage of cookies you may pass the session id in the URL or configure PHP with the --enable-trans-sid option to let PHP transparently pass SID.
Session sharing across servers To share session between servers, you could : 1 - Store the sessions on an NFS share. This may be slow on heavy loaded systems. 2 - Store the sessions in a DB. Look at Ying Zhang's columns about this subject ( www.phpbuilder.com/columns/ying20000602.php3 ).
Hope this helps
JBL