Welcome Guest, Not a member yet? Register   Sign In
Locking records in use from other users
#6

[eluser]edhrx[/eluser]
@joostv

The app I was writing was quite active could have 500 - 2000 edits a day. I agree that we could have just deleted the records from the record_buffer but I wanted to contain the table growth. When I monitored the number of records in the record_buffer it never went above 50 as the stale records were being reused.

I was also using the obsession lib from the wiki so the session data was saved in a table. This allowed me to use the knowledge of a session which had a record_locked to 'guess' if it really was locked..ie someone was really editing it.

Ed.


Messages In This Thread
Locking records in use from other users - by El Forum - 04-20-2008, 03:54 AM
Locking records in use from other users - by El Forum - 04-20-2008, 04:58 AM
Locking records in use from other users - by El Forum - 04-20-2008, 06:08 AM
Locking records in use from other users - by El Forum - 04-20-2008, 06:19 AM
Locking records in use from other users - by El Forum - 04-20-2008, 09:51 AM
Locking records in use from other users - by El Forum - 04-20-2008, 11:03 AM
Locking records in use from other users - by El Forum - 04-20-2008, 12:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB