Success!!

Thanks for all the help. I actually had a third request in there, but for
some unknown reason using resetParameters(); and setConfig(), I was still
getting an issue with cookies not being passed on, and a local redirect
issue even with maxredirects set to 0. After restarting Apache2, the issue
cleared up and has not happened again. Some where down the line with
extensive trial/error testing, it started ignoring my overrides.

Again thanks!

Junior

Giuliano Riccio wrote:
> 
> Probably you need to do a third Zend_Http request building the url as that
> js does.
> As said before, the only way is to emulate what that js does.
> 
> Giuliano
> 
> jgillespie wrote:
>> 
>> 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-tp21072511p21118183.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to