I am in the process of writing a PHP script to retrieve XML search results from our Thunderstone appliance. We have results authorization turned on for several of our profiles, requiring the existence of a cookie.
I am using the cURL library in PHP to perform the task of retrieving the XML document from the appliance. I am setting the cookie information needed for the result authorization in the request header (using the curl_setopt function).
The returning XML document comes back with the message stating that external authentication is required. Assuming that I've got my curl syntax set correctly, should this work? Will it use the cookie information I'm passing in the request header to execute the search and perform the results authorization?
If this isn't correct, can you provide any more information/insight as to how I might be able to remotely grab search results?
Thanks in Advance,
Russell
I am using the cURL library in PHP to perform the task of retrieving the XML document from the appliance. I am setting the cookie information needed for the result authorization in the request header (using the curl_setopt function).
The returning XML document comes back with the message stating that external authentication is required. Assuming that I've got my curl syntax set correctly, should this work? Will it use the cookie information I'm passing in the request header to execute the search and perform the results authorization?
If this isn't correct, can you provide any more information/insight as to how I might be able to remotely grab search results?
Thanks in Advance,
Russell