Re: Latency in updating PR_LAST_MODIFIED between Outlook client and Exchange server???
From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 07/28/04
- Next message: Dmitry Streblechenko \(MVP\): "Re: TNEF parsing"
- Previous message: Ajay: "TNEF parsing"
- In reply to: Robert: "Re: Latency in updating PR_LAST_MODIFIED between Outlook client and Exchange server???"
- Next in thread: Robert: "Re: Latency in updating PR_LAST_MODIFIED between Outlook client and Exchange server???"
- Reply: Robert: "Re: Latency in updating PR_LAST_MODIFIED between Outlook client and Exchange server???"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Jul 2004 16:33:14 -0700
The client and server clocks are out of sync. PR_CLIENT_SUBMIT_TIME and
PR_MESSAGE_DELIVERY_TIME are settable by the client (server doesn't care),
PR_CREATION_TIME and PR_LAST_MODIFICATION_TIME are calculated (read-only)
properties modified only by the Exchange Server.
Using date/time stamps for sync is not a very good idea. Either cache the
value of PR_CHANGE_KEY to figure out if the object had been modified or use
ICS (Incremental Change Synchronization) to sync the changes.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Robert" <mcguire@reminderminder.com> wrote in message
news:702665ec.0407281509.2f4687cb@posting.google.com...
> Well, it's very strange. This is not an answer to your question about
> which MAPI session I am using, but I do suspect it is relevant:
> Apparently the PR_LAST_MODIFICATION_TIME is always approx. 6 minutes
> earlier than the client machine's system time (after adjusting for
> local versus GMT) at the time of the actual modification. I did a
> little experiment and created a Contact in Outlook and saved it at
> 10:50 pm. This gave some weird results:
>
> PR_CLIENT_SUBMIT_TIME = 10:50 pm (this value matches the client mc's
> systemtime)
> PR_CREATION_TIME = 10:43 pm (earlier!?!)
> PR_LAST_MODIFICATION_TIME = 10:44 pm (earlier!?!)
> PR_MESSAGE_DELIVERY_TIME = 10:50 pm
>
> Then, when I re-open and edit the contact and save it anew, the only
> value that changes is PR_LAST_MODIFICATION_TIME (which seems
> reasonable), but it consistently remains six minutes behind the client
> machine's system time.
>
> I suspect resolving this curiosity will fix my problem or else make
> clearer what might be wrong. Do you have any idea how/why these time
> disparities may be getting introduced?
- Next message: Dmitry Streblechenko \(MVP\): "Re: TNEF parsing"
- Previous message: Ajay: "TNEF parsing"
- In reply to: Robert: "Re: Latency in updating PR_LAST_MODIFIED between Outlook client and Exchange server???"
- Next in thread: Robert: "Re: Latency in updating PR_LAST_MODIFIED between Outlook client and Exchange server???"
- Reply: Robert: "Re: Latency in updating PR_LAST_MODIFIED between Outlook client and Exchange server???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|