You need to store the sessions in an SQL server. I think there is an SQL sessionstore already written. If not, it wouldn't be difficult at all.
Jay > -----Original Message----- > From: Jeff Johnson [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 18, 2002 12:35 PM > To: 'Webware Discuss' > Subject: [Webware-discuss] clustered webservers? > > > Most of our websites use sessions to store a variable like > loggedInUserID to track who is logged in. To handle the load from > advertising campaigns, I've setup two computers with Apache and Webkit > running on each. I then use round robin DNS so hopefully an > individual > user will go to the same web server and get the same session > and remain > logged on. This works pretty well but we get several complaints a day > from people that can't stay logged on which I assume means they are > going to the other web server and getting a different session. > > I'm thinking maybe I should stop using sessions and just > store some form > of the UserID in a cookie which should work no matter which > server they > go to for each request. > > It would really be nice if I could run Apache on one machine, and run > Webkit on the other but I don't think it would improve > performance much > and maybe even make it worse since Apache would have to talk to WebKit > across the LAN. > > Does anyone have any advice? Does splitting the web server and > application server onto two machines have much impact? > > Thanks, > Jeff > > > > > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss > ---------------------------------------------------------------------------- This e-mail and any attachments may be confidential or legally privileged. If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein. Please inform us of the erroneous delivery by return e-mail. Thank you for your cooperation. ---------------------------------------------------------------------------- _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
