Watashi --
The only way for offline applications to share a counter would require, as
you said, a shared server.  If they can all access a shared server, then
they're not really "offline".  You can have each client synchronize to the
current counter and store it in Gears, but if one of them increments it the
rest of them won't see the change until they synchronize to the shared
server again.

-Ben

On Thu, Sep 25, 2008 at 3:54 PM, watashi <[EMAIL PROTECTED]> wrote:

>
> Ben
>
> Thansk for your answer but my idea was a little
>
> My idea is not to have the counter in the remote database bu only in
> the off-line database of google Gears
> But, to circunvate the problema that you raised, the database of
> Google Gears should exist not in each machine, but in a shared server
> or directory
>
>
> so , each user, would obtain the right count, on of off-lie
>
> What do you thing ? Is it possible through a parameter , to do that
> the all users of google gears, share a common database , but off-
> line ?
>
> Rgds
>
> On Sep 24, 3:37 pm, "Ben Lisbakken" <[EMAIL PROTECTED]> wrote:
> > Watashi --
> > The answer is that this is kind of possible.  Users can all synchronize
> > their offline databases to your central remote database.  However, if a
> user
> > is offline for 2 days and the application requests a 'count', records
> could
> > have been changed within those 2 days, making their 'count' incorrect.
> >  There is no way to guarantee that all users that are online/offline can
> > have the exact same value for 'count' but they could all conceivably have
> > very similar values (depending on changes to the remote DB).  So if
> > exactness is necessary, the answer is no.
> >
> > -Ben
> >
> >
> >
> > On Wed, Sep 24, 2008 at 9:04 AM, watashi <[EMAIL PROTECTED]> wrote:
> >
> > > People
> >
> > > I need to develop a solution, whre a count variable , must be updated
> > > for all users of a company, onlne or offline
> >
> > > So , I´d need to use the google gears database in a shared mode. Is it
> > > possible ?
> >
> > > Rgds- Hide quoted text -
> >
> > - Show quoted text -
>

Reply via email to