Date: 11/09/99
- Next message: Patrick _: "[PHPLIB] Retaining sessionid through header()?"
- Previous message: Kristian Koehntopp: "Re: [PHPLIB] instalation problems"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] active_sessions"
- Reply: Kristian Koehntopp: "Re: [PHPLIB] active_sessions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I use phplib for use with IMP 2.2.0-pre5, and have been having problems
when I logout because of active_sessions updates being interspersed.
Attached is code that I've tested with MySQL that uses replace instead of
update or insert, this shoud make the update atomic and prevent nastiness.
I don't have any other database servers, so I don't know if this fix is
MySQL specific, but hopefully someone else will find it useful.
-- Charles P. Wright cpwright <email protected> http://w3.cpwright.com/The trouble with computers is that they do what you tell them, not what you want.
- TEXT/PLAIN attachment: phplib.diff
- Next message: Patrick _: "[PHPLIB] Retaining sessionid through header()?"
- Previous message: Kristian Koehntopp: "Re: [PHPLIB] instalation problems"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] active_sessions"
- Reply: Kristian Koehntopp: "Re: [PHPLIB] active_sessions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

