RE: Doing multiple updates

2001-01-29 Thread Cal Evans
: Doing multiple updates I have decided to implement the "soft-lock" schema below. I cannot use the userID as the value for the lock. Is there any other unique number that can be generated that I could use. I am thinking about using a session_ID in PHP? Any suggestions/Comment

RE: Doing multiple updates

2001-01-29 Thread Randy Johnson
al Message- From: Cal Evans [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 4:10 PM To: Randy Johnson; [EMAIL PROTECTED] Subject: RE: Doing multiple updates Randy, My recommendation (and there are probably many people who will disagree with me) is to use a "soft-lock" sche

RE: Doing multiple updates

2001-01-26 Thread Randy Johnson
nson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 8:48 PM To: [EMAIL PROTECTED] Subject: Doing multiple updates Hello, I am creating a mock site that has a money balance that people can login and pretend to pay money for stuff online via my site. I am using php with mysql to im

RE: Doing multiple updates

2001-01-24 Thread Mark Maunder
use a soft lock like you've described. I dunno. -Original Message- From: Cal Evans [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 9:10 PM To: Randy Johnson; [EMAIL PROTECTED] Subject: RE: Doing multiple updates Randy, My recommendation (and there are probably many

RE: Doing multiple updates

2001-01-24 Thread Cal Evans
e for even seeing the data and some (M$ SQL) used to lock whole tables to do a single update. (sux big time) HTH, Cal http://www.calevans.com -Original Message- From: Randy Johnson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 2:48 PM To: [EMAIL PROTECTED] Subject: Doing multip

RE: Doing multiple updates

2001-01-24 Thread Mark Maunder
t. The lock will not exist if it was never obtained by a call to GET_LOCK() or if it already has been released. Mark. -Original Message- From: Randy Johnson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 8:48 PM To: [EMAIL PROTECTED] Subject: Doing multiple updates H

Doing multiple updates

2001-01-24 Thread Randy Johnson
Hello, I am creating a mock site that has a money balance that people can login and pretend to pay money for stuff online via my site. I am using php with mysql to implement this. How do I make sure that a balance for a particular account is (locked) so only 1 spend for that account can happen