>The cookie is a string, that you retrieve from our system by sending
>in the
>username and password for the domain profile. You could consider it
>something
>like a session key.
>
>To retrieve the cookie from our system check the "get cookie"
>directive. Once
>you have got the cookie information you can send it along with the
>hash.

Thanks for the response,
I checked the api doc for 'get cookie' and I did not find it. I 
thought you might mean 'set cookie', and so I try this:

$cmd = array(
        protocol => "XCP",
        action => "set",
        object => "cookie",
        attributes => array(
                domain => 'educationplanet1.org',
                reg_username => 'daniel',
                reg_password => 'password'
        )
);

I think I understand now that I have to request a cookie and then 
send it with a modify command. and then any modified elements will be 
applied to the domain that was specified in the cookie request, is 
this right?

thanks again.

Reply via email to