These are excel files and will be edited locally and uploaded via cf. My thinking was to possibly save the user_id from the session in a temp table to snag their name for display, but I am unclear as to how or when to check to see if the doc has been modified and if so by whom. But I am a newb, so I'm not even sure if my thinking is correct or at least a good direction to achieve this??
Bob -----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Sunday, November 20, 2005 4:50 AM To: CF-Newbie Subject: RE: last modified by ... What sort of docs will you be using? MS Office documents(and most likely others) store this data with the file. Others may not. If the file system knows about it, you can probably get access to it. Right click on a document and have a wander though the tabs, if it's there, chances are you can get at it. CF will only give you access to what you see in the results of a cfdirectory. There may be some methods available in Java but I can't see any after a quick look. The only references I could see were in relation to image metadata. How are these documents being edited? If it's via a web app then you could store this in your app rather than rely on the file. Otherwise, I'm out of ideas. Ade -----Original Message----- From: Bob Imperial [mailto:[EMAIL PROTECTED] Sent: 20 November 2005 08:01 To: CF-Newbie Subject: last modified by ... Hi folks, Need some help here on something I'd like to do in addition to displaying the obligatory, "datelastmodified" is tie it to the last user to edit this. <cfdirectory directory="#ListThisDir#" name="mydirectory" sort="size ASC, name DESC, datelastmodified"> I am currently using <cfset SESSION.Validated = "yes"> <cfset SESSION.Auth = StructNew()> <cfset SESSION.Auth.user_id = match.user_id> <cfset SESSION.Auth.user_fname = match.user_fname> <cfset SESSION.Auth.user_lname = match.user_lname> <cfset SESSION.Auth.user_role = match.user_role> for simple name display yada yada yada. What I would like to do is save a users ID to display along with the datelastmodified value. Any ideas on how best to go about this would be greatly appreciated, examples/tutorials etc. TIA Bob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1527 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
