I'm attempting to get the ability to sign members into my website with my own login procedures, and have them automatically logged into the forum on my site.
I'm able to use the API call fine to get back the response data in my PHP script, and I'm able to parse it into the various components. However, I can't figure out how to set the cookie in PHP for the forum to recognize it. PHP doesn't have native support for 'multi-value cookies' or 'cookie collections' that this seems to require, but as PHP is listed as one of the options that this is useful for, then I suspect I'm just missing something.
Any ideas how to use the CookieName, CookieKey, and CookieData to create and set the cookie in PHP for ASP to read it properly?
The 2 closest attempts I feel I've made so far, though neither are working are:
setcookie($cookiename, $cookiekey."=".$cookiedata, time()+7200, "/", ".domain.com");
setcookie($cookiename."[".$cookiekey."]", $cookiedata, time()+7200, "/", ".domain.com");
Any help here?
Thanks