I am developing a ROKU application which needs to logon to a remote server and extract feeds. I am aware that ROKU does not support Cookies and so gotta make do with "Set-Cookie" and "Cookie" headers. The issue I am facing right now is that the response sent by the remote server on a successful login has several "Set-Cookie" name-value pairs (all of which need to be sent as "Cookie" name-value pairs for further communication with the server) and the "GetResponseHeaders" method associated with "roUrlEvent" returns a "roAssociativeArray" which cannot hold duplicate values (according to the latest BrightScript Reference Manual). Ultimately, I am able to retrieve only one of these essential name-value pairs which is insufficient for further communication with the server. It seems to be appropriate for the method to return a "roArray" so that we get all the essential fields from the response headers. I am not sure if we are missing out on something here or the method signature needs to be changed. Please advise. Thank you.
Re: Cookies - GetResponseHeaders method - roUrl event
Sorry, that link is for signing up for the end-user beta pool and doesn't guarantee that you'll get the beta. We'll shortly be soliciting our developer community for a developer-targeted beta program. Please sit tight.