Sunday 04 November 2007 7:12:19 am
Is it possible to support eZSESSID in ezhttptool::sendHTTPRequest? Can we add another parameter to sendHTTPRequest() as the following?
function sendHTTPRequest($uri,$port,$postParameters, $userAgent, $passthrough, $ezsessionid)
And change the request header as the following?
...
"Cookie : eZSESSID=$ezsessionid".
...
In this way, we can do internal forward with authenticated session on server side. Or maybe we can add an array parameter named "$cookies" to allow the user to supply additional cookies when invoking sendHTTPRequest() as the following?
function sendHTTPRequest($uri,$port,$postParameters, $userAgent, $passthrough, $cookies)
Please advise.
Michael Lee | Managing Director | ZerusTech Ltd | www.zerustech.com
Skype: zerustech
|