> > You WILL get goofy behaviour with this due to NFS's lack of flock()
> > support. SQM
> > will work, but strange things will happen (messages being deleted from the
> > wrong
> > folder, for example)
>
> I was going to say "that should never happen", but if one web server
> clobbers another's session file with a new user, it is slightly
> possible, however you will never get the issue of you deleting a
> message in one of your folders, and it deleting a message in another.
> The code uses post variables to delete, so it's just not possible for
> that to happen, but as I said, if the session gets clobbered by
> another user, and it loads somebody elses user information, then that
> is possible... though I'm not sure how PHP keeps a handle on sessions
> to stop this happening in a non-load balanced situation.
>
I guess it would come down to the servers generating the same
session ID from 2 servers at the same time and some "race" condition
happening. Otherwise, I don't think the web server keeps track of the session
ID, it gets passed back as a cookie and if the other server has access to
the shared mount point, I'd think it'd understand things. Even if different
parts of a request would do session updates, it would run into the same issue
as multiple servers I would imagine.
Thanks, Tuc
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
--
squirrelmail-users mailing list
Posting Guidelines:
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives:
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users