| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
|
|
#2 (permalink) |
|
Yes I look angry.
|
In a nutshell.... - Store a cookie on the users system with the date/time (perhaps Unix epoch time would be best) of their last visit to the page that lists the files. - Everytime a cad file is updated, store the updated time in the database. - Have a script display the files from the database and compare the time on the DB with the time in their cookie - If the time in the DB is greater than the time in their cookie, flag that record/file. That's pretty much how I'd tackle the problem. Of course it means you'd need to have a database running but that shouldn't be too hard ? Or are you are reading in a directory list of files straight off the server ? If that is the case, you can retrieve the time of the last change/update from the file info although that method would be slower and more CPU intensive. - Mike |
|
![]() |