Not sure of the pattern name for this one, but you could sent them a "token" when they connect and upon successive connections you look for the client to send the token back. Sort of like a session id??
Paul On 9/7/07, Mike <[EMAIL PROTECTED]> wrote: > > Cosmin, > > No, that doesn't work. > Red5 doesn't know it is the same client if you do two separate > connections. > > -Mike > > [EMAIL PROTECTED] wrote: > > Isnt't IClient.getConnections() the answer? > > At appConnect we can detect the client and see how many other > connections > > he has. Isn't the Client the swf instance? > > > > cosmin > > > > > >> That's a good point. > >> On a second note, how would I authenticate a user from e.g. a stripes > page > >> to red5 and tell the flash client to use these credentials. For the > second > >> part I have a basic idea ... calling a jsp, which returns the > credentials, > >> but the first one leaves me dry ... > >> > >> On 9/7/07, Mondain <[EMAIL PROTECTED]> wrote: > >> > >>> Multiple different users may have the same IP if they are using a > proxy, > >>> so tagging by IP will not work. > >>> > >>> Paul > >>> > >>> On 9/6/07, Anze Cesar < [EMAIL PROTECTED]> wrote: > >>> > >>>> How about storing their IP? Is that easily available in the > >>>> > >>> connection, > >>> > >>>> and if so, how would I get it? > >>>> Because I'm having a similar problem :) > >>>> > >>>> On 9/6/07, Mike <[EMAIL PROTECTED]> wrote: > >>>> > >>>>> Joachim, > >>>>> Thanks for the reply. > >>>>> That is what I needed to know. > >>>>> > >>>>> -Mike > >>>>> > >>>>> Joachim Bauch wrote: > >>>>> > >>>>>> Hi Mike, > >>>>>> > >>>>>> Mike schrieb: > >>>>>> [...] > >>>>>> > >>>>>> > >>>>>>> I was just wondering if Red5 was somehow aware that a connection > >>>>>>> > >>>>> was > >>>>> > >>>>>>> from the same flash instance. > >>>>>>> > >>>>>>> > >>>>>> no, there is no way to detect that on the protocol level. This > >>>>>> > >>> needs > >>> > >>>>> to > >>>>> > >>>>>> be done in high-level application code. > >>>>>> > >>>>>> Joachim > >>>>>> > >>>>>> _______________________________________________ > >>>>>> Red5 mailing list > >>>>>> [email protected] > >>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> Red5 mailing list > >>>>> [email protected] > >>>>> http://osflash.org/mailman/listinfo/red5_osflash.org > >>>>> > >>>>> > >>>> > >>>> -- > >>>> lp, > >>>> Anže > >>>> _______________________________________________ > >>>> Red5 mailing list > >>>> [email protected] > >>>> http://osflash.org/mailman/listinfo/red5_osflash.org > >>>> > >>>> > >>>> > >>> -- > >>> It is difficult to free fools from the chains they revere. - Voltaire > >>> _______________________________________________ > >>> Red5 mailing list > >>> [email protected] > >>> http://osflash.org/mailman/listinfo/red5_osflash.org > >>> > >>> > >>> > >> -- > >> lp, > >> Anže > >> _______________________________________________ > >> Red5 mailing list > >> [email protected] > >> http://osflash.org/mailman/listinfo/red5_osflash.org > >> > >> > > > > > > _______________________________________________ > > Red5 mailing list > > [email protected] > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > > > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > -- It is difficult to free fools from the chains they revere. - Voltaire
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
