Probably it's not possible since Zend_Http doesn't execute the javascript
content of the page.
Giuliano
Junior Gillespie-2 wrote:
>
> Hello, I've recently ran into a problem that's I'm unable to find a
> work around for.
>
> Using Zend_HTTP, I'm accessing a site and posting authentication
> credentials. Upon success, remote page redirects to a confirm page
> with an "Ok" button. This button utilizes the onClick event to expire
> a cookie in order to confirm, it then redirects.
>
> The onclick event looks like this:
>
> <input name="success" value="Ok" onclick="redir();" type="button"> </td>
>
> Javascript:
>
> function redir()
> {
> // Deletes the cookie by expiring
> setCookie("link","", new Date("January 1, 1970"), "/" );
> if ("" != "") {
> window.location="";
> }
> }
>
> How would I code for this type of mechanism, in order to issue the
> onClick event in order to get a redirect to the contents I need?
>
> --
> Thanks,
>
> Junior
>
>
--
View this message in context:
http://www.nabble.com/Interact-with-zend_http-request-tp21072511p21073306.html
Sent from the Zend Framework mailing list archive at Nabble.com.