R
Roger Twomey
I have a database that I don't want to lock. I decided that before any
updates can occur I would check a timestamp value and ensure that nobody
else updated before I did (avoiding the 'last update wins' scenario).
I have a problem, I can read the Timestamp from the db when I read the
record. I currently use the data to pre-fill a form (gee go figure ) and
the user changes some values and updates.
I don't know what to DO with the timestamp value while I am holding it. I
have tried putting it into a hidden value on the form but the value does not
seem to translate back and forth.
Do I have to store it as in memory as part of the session or can I somehow
convert to and from text??
I have about 0 experience working with byte arrays so the best answer is one
with an example.
Thanks.
updates can occur I would check a timestamp value and ensure that nobody
else updated before I did (avoiding the 'last update wins' scenario).
I have a problem, I can read the Timestamp from the db when I read the
record. I currently use the data to pre-fill a form (gee go figure ) and
the user changes some values and updates.
I don't know what to DO with the timestamp value while I am holding it. I
have tried putting it into a hidden value on the form but the value does not
seem to translate back and forth.
Do I have to store it as in memory as part of the session or can I somehow
convert to and from text??
I have about 0 experience working with byte arrays so the best answer is one
with an example.
Thanks.