On Thu, 28 Jul 2005, Mysql user wrote:

> I'm trying to write a perl program to access the configuration of a VOIP
> telephone through its web interface. The web interface assigns you a
> session id cookie once you've logged in. It works with browsers but not
> with libwww-perl5.803 as shipped with Fedora Core 4.
>
> Here is the set-cookie header:
> Set-Cookie: SessionId="ab6931f2c09b05c9"; Version=1; Path=/
>
>
> Here is the correct cookie being sent (by Firefox):
> Cookie: SessionId="bf754500cc94652f"
>
> Here is the cookie being sent by LWP:
> Cookie: $Version=1; SessionId="\"ab6931f2c09b05c9\""; $Path="/"
[...]

Have you tried turning off RFC 2965 handling?

Even then, perhaps Version 1 cookies won't be downgraded to V0 cookies,
I don't recall.  But try it and see.


John

Reply via email to