Hello all,
 
I'm trying to determine how to unlock objects after a certain amount of
inactivity. I swiped some code from iBuild or Restorenet that had a lock
checking routine just before the PLP call. However, it seems that the
'datetimelastupdated' field in the objects table only gets changed when the
<CFA_contentObjectData> tag is used.
 
Let's say that I had a user that went about half-way through an object and
then stopped without updating the object. They have essentially left that
object locked for any other user. So I want to determine the last time
anyone was using the edit or approve PLP's. Can I grab the a date time stamp
from the PLP instance? If so, how? The relationship there seemed a little
disjointed and the tags that I see for PLP's don't provide a simple way to
grab the time.
 
If I could grab this time then I could compare the time and the
'datetimelastupdated' field from the objects table to unlock the object if
there has been no PLP activity from the person who locked this object in 'x'
minutes.
 
Can anybody suggest something?
 
Thanks,
Nate

-
Nate Smith, 
Lead Developer 
[EMAIL PROTECTED] 
www.doceus.com 

 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to