Pravin wrote:
> Hello,
>
> I have to download a web page using LWP::UserAget,
wherein a cookie
> is set by using a javascript. It would be better if we
could call the
> javascript, instead of mimicing it to get the cookie
set.
>
> Can anybody help me in this issue
Write your own extension to LWP::UserAgent. That module
basically
creates a web browser, one that does not recognize
Javascript. There
is no magical bit you can flip that will suddenly enable
Javascript
support. The code doesn't exist.
Write your own child class of LWP::UserAgent, or figure out
what the JS
is doing and do it yourself.
Paul Lalli
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Perl Programming" group.
To post to this group, send email to perl-programming googlegroups.com
To unsubscribe from this group, send email to
perl-programming-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/perl-programming
-~----------~----~----~----~------~----~------~--~---
|