Hello Daniel, On Sunday, March 09, 2003, Daniel M.Drucker wrote...
> Even with register_globals off, I am still having this issue of > people (on DIFFERENT computers, who have NEVER used the same > computer) getting each other's preferences. I've still got no idea how you're managing this. Do you have a lot of users? What kind of userbase hits the system all at once? > Is it possible it has something to do with the ".pref" file that > gets created in the data directory if $username doesn't get properly > set? $username is pulled from the session... if it isn't set... then in theory, you cannot get this far. This is merely an E_ALL catch to stop notices popping up in the event it isn't set. > This bit of code looks suspect to me, at the beginning of > src/load_prefs.php: > $username = ( !isset($username) ? '' : $username ); > It seems to me this is a possible source of the problem. How so? All that'd end up happening is PHP would try reading the file ".pref"... instead of "$username.pref"... Check the data dir, see if you have a file called ".pref"... Otherwise I doubt this is your problem. What I'd be interested in knowing is what kind of load your servers get. Do users report problems of seeing other peoples mailboxes? -- Jonathan Angliss ([EMAIL PROTECTED]) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
