Alan Jiang <[EMAIL PROTECTED]> writes:

> First time to post question to this group. I have a problem of retrieving
> and sending session cookie. I know you can save permanent cookies in a
> cookie file using cookie_jar function. But how to deal with session
> cookie? I can't find any example in the lwpcook manual.

There is nothing special with session cookies.  Just associate a
cookie_jar with the user agent and things should work.

If your problem is that you have multiple incarnations of a script
that is supposed to be a single session then you might have luck with
enabling the 'ignore_discard' option of the HTTP::Cookies object.

Regards,
Gisle

Reply via email to