Thanks Nimer and Paul for you help.

If UIDUtil.createUID() function provided a unique id,
even if that is not globally unique, I think it will
be enough for me. 

What I want is that I can get unique ids for messages
created by a client during a session (on single
machine) and that unique id is convertible to .NET
Guid on server side. If a user logins agains or if
another user is using the application simultaneously
and they get the same ids generated by UIDUtil, it
will not create problem in my scenario.

--- Paul Decoursey <[EMAIL PROTECTED]> wrote:

> That is a uid generator, not a uuid generator.  It
> cannot be  
> guaranteed to be universally unique.
> 
> On Nov 29, 2007, at 12:40 PM, Mike Nimer wrote:
> 
> > > If it does not, the how can i generate unique
> numbers
> > > from Flex that can be convertible to Guid in
> .NET?
> > >
> >
> > There is a UUID generator in flex you can use to
> get a unique id.
> >
> > UIDUtil.createUID()
> >
> > Hth,
> > ---nimer
> >
> >
> > From: [email protected]
> [mailto:[EMAIL PROTECTED]  
> > On Behalf Of Paul Decoursey
> > Sent: Thursday, November 29, 2007 8:42 AM
> > To: [email protected]
> > Subject: Re: [flexcoders] Guid datatype in Flex
> >
> >
> > On Nov 29, 2007, at 7:45 AM, Jehanzeb Musani
> wrote:
> >
> > > Hello,
> > >
> > > I am calling a webservice written in .NET. The
> > > webservice requires MessageId of type Guid to
> uniquely
> > > identify the messages.
> > >
> > > Can anyone tell me whether Flex supports Guid
> datatype
> > > or not?
> > >
> > It does not.
> >
> > > If it does not, the how can i generate unique
> numbers
> > > from Flex that can be convertible to Guid in
> .NET?
> > >
> > Generate them in .NET and provide them via a web
> service to the Flex
> > App.
> >
> > 
> 
> 



      
____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

Reply via email to