I understand what your saying now, and have passed on the cookies to a
Zend_Http, and I get further, however using max redirects, I've found that
there are more than 1 redirect, and on the second redirect, it attempts to
use my local url. Any ideas? As always appreciate all the help.

Junior




Giuliano Riccio wrote:
> 
> Yes, I'm sure… unless they will make a javascript engine in php :P
> A possible solution is to reproduce what that javascript does.
> If it simply makes a call to a new page maybe you can make the first
> request, get its cookies and
> send them to the page specified by the js doing another Zend_Http request.
> 
> Giuliano
> 
> 
> jgillespie wrote:
>> 
>> Are we sure there's no way to execute the javascript? The reason I ask,
>> is the authentication process implements javascript in order to properly
>> set session values, the redirect to the confirmation page, as well as
>> many other things, all of which I've been able to confirm is happening in
>> the background.
>> 
>> I've added the cookie, with little success, however the confirmation
>> button onClick event still calls a window.location="/something_else". For
>> this to happen, the browser must interact with the button.
>> 
>> Thanks
>> 
>> Junior
>> 
>> 
>> 
>> Giuliano Riccio wrote:
>>> 
>>> Probably it's not possible since Zend_Http doesn't execute the
>>> javascript content of the page.
>>> 
>>> Giuliano
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Interact-with-zend_http-request-tp21072511p21102291.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to