> 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'm pretty sure I've seen that happen first-hand, although it's been awhile, so
perhaps not.  Another example: Delete/Move Next would jumble and end up deleting
the wrong message and/or moving to the incorrect "next" message and/or 
displaying
the body of the correct message with the headers of the incorrect one (that 
one's
documented in the archives).  Many times did I have to resort to digging through
my Trash folder to recover a lost message...

I thought I had read that PHP will flock() the session handles, but going back 
to
read up on it now, I can't confirm that.  However, it's easy to see that on a
single web server, multiple clicks inside SQM (in separate frames) will not
execute simultaneously, so some server-side serialization must be going on.

John




-- 
John Madden
UNIX Systems Engineer
Ivy Tech State College
[EMAIL PROTECTED]



-------------------------------------------------------
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?id5hix
--
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)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to