> pls excuse my struts-[OT] question, but I would appreciate to learn how
you
> handle the situation of concurrent data update within your web
> applications.

I have to live with a "traditional" telnet app which is also updating the
files, and I can't hold record locks from the web, so... I read in the
record and store a fingerprint of what it looked like when you began editing
it.  When you to to commit your changes, I re-read the record.  If it has
changed since you began editing it, you lose.

Definitely not ideal, but it works for us.  Most of the time I'm writing a
new record, so nobody else is going to be editing it while the user is
working on filling in the data.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

Reply via email to