RE: guid.php

From: Dylan Douglas <dylan_at_mediadefender.com>
Date: Wed, 11 Apr 2007 17:27:58 -0700

Z-

So, how about this:

If it's called with a GUID and port by the application, it will
associate the GUID/calling ip/port together. It will also reply with
any account names that have been previously associated with it.
Then the webpage would call with an account name and get a reply of the
listening port of the application so it knows how to communicate with
the application (or does the application always listen on the same port
for the webpage?)

I'm just trying to figure out what happens if you start your computer,
the application starts up, but you don't have the web page up and
running. How is the application going to find out the account that is
associated with it? Does the GUID and account stay together in the
database after they are first associated?

If this isn't right, just give me a sequence of events and I can write
it out how ever you need it.

-D

>-----Original Message-----
>From: Stefan Kaczmarek [mailto:stefan_at_thezonie.org]
>Sent: Wednesday, April 11, 2007 5:15 PM
>To: Dylan Douglas
>Cc: Ben Ebert; Ivan Kwok; Jay Mairs; Sergio Alvarez; Ty Heath
>Subject: Re: guid.php
>
>No, a GUID is associated with the instance of the application running
>as a service on a computer. It can have multiple accounts associated
>with it.
>
>So yeah, it's an association by way of IP.
>
>- Z
>
>On Apr 11, 2007, at 5:11 PM, Dylan Douglas wrote:
>
>> I don't know. How is the account getting associated with
>the GUID? I
>> mean, do you always have to log into the webpage and by way
>of ip it's
>> getting associated with the GUID that the app has?
>>
>> I thought that everyone has an account and when you install the
>> application, you get a GUID. Then your account is associated with
>> that
>> GUID during the install process. Then when the application starts
>> up in
>> the future you ask the system what accounts have been associated with
>> this GUID. Then you ask what are the queues for these accounts that
>> I've just been told about.
>>
>> -D
>>
>>> -----Original Message-----
>>> From: Stefan Kaczmarek [mailto:stefan_at_thezonie.org]
>>> Sent: Wednesday, April 11, 2007 5:04 PM
>>> To: Dylan Douglas
>>> Cc: Ben Ebert; Ivan Kwok; Jay Mairs; Sergio Alvarez; Ty Heath
>>> Subject: Re: guid.php
>>>
>>> Er, how would I call it with GUID and account?
>>>
>>> I was thinking that the application would call it with its GUID, and
>>> then the web page would call some other thing saying "here's my
>>> account" ... what is my listening port? And that would be
>figured out
>>> by seeing which GUID it is associated with, and then getting the
>>> latest listening port for that GUID.
>>>
>>> Am I wrong?
>>>
>>> - Z
>>>
>>> On Apr 11, 2007, at 5:01 PM, Dylan Douglas wrote:
>>>
>>>> Working on the guid.php module. The way I have it shaping up right
>>>> now
>>>> is it can be called with either just a GUID or a GUID and account.
>>>>
>>>> If it's called with the GUID and account, it associates
>that account
>>>> with that GUID. If it calls with a different GUID, but the same
>>>> account, that account will be reassociated with the new GUID.
>>>>
>>>> If it's called with just the GUID, it replies with all the accounts
>>>> that
>>>> are currently associated with that GUID.
>>>>
>>>> Callback parameter is optional.
>>>>
>>>> GUID is in the
>>>>
>>> [:xdigit:](8)-[:xdigit:](4)-[:xdigit:](4)-[:xdigit:](4)-[:xdigit:]
>>> (12)
>>>> format.
>>>>
>>>> -----
>>>> Dylan Douglas
>>>> MediaDefender
>>>>
>>>>
>>>>
>>>> <winmail.dat>
>>>
>>>
>
>
Received on Fri Sep 14 2007 - 10:56:03 BST

This archive was generated by hypermail 2.2.0 : Sun Sep 16 2007 - 22:19:48 BST