Ray.

Thanks for your response.

I understand your point but let me clarify my intention.

I want a multi-user system to book appointments. If I understand this
correctly, if the system I am developing does:

1 - check whether slot is available - free
1 - create appointment

there is the opportunity for a race condition.

1 - check whether slot is available - free
2 - check whether slot is available - free
1 - create appointment
2 - create appointment

Unless there's a way of limiting the number of appointments at a time
in a given calendar and the calendar implements a "test and set lock"
primitive I am currently unable to see how this would work for me.

I would welcome your further opinion on the question I have posed.

Many thanks once again for your response.

Jim

On Nov 17, 8:39 pm, "Ray Baxter" <[EMAIL PROTECTED]> wrote:
> You can't lock a calendar, and generally, you don't need to. You can
> add multiple events simultaneously to a single calendar and if
> multiple users update the same event they will be blocked by the event
> versioning.
>
> Have you seen any problems with multiple updates?
>
> Ray
>
> On Sun, Nov 16, 2008 at 6:17 PM, sigdevjim <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I want to update a single calendar from a server side application and
> > cannot yet see how I can implement a locking mechanism or manage
> > concurrent access of the calendar.
>
> > Can anyone explain how they have done this?
>
> > Or can someone from Google please suggest how I might achieve this?
>
> > I am using the .net version of the API.
>
> > Many thanks :D
>
> > Jim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to