in reply to How to extract cookies from an existing browser session

hippo's response will be useful if you are doing all your interaction via Perl. However, if you need to extract a cookie from an existing browser session, you'll need to use browser-specific debugging tools. I usually use Firebug for Firefox.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

  • Comment on Re: How to extract cookies from an existing browser session

Replies are listed 'Best First'.
Re^2: How to extract cookies from an existing browser session
by Marshall (Canon) on Jun 10, 2016 at 19:18 UTC
    I don't have experience with Firebug. I have worked with the Firefox cookies DB, named amazingly enough cookies.sqlite in the Mozzila file hierachy. SQLite is actually quite popular in many apps and all smart phones have some form of it.

    I use SQlite Manager plug in to firefox. If you install that add-in, it will know how to find the cookies SQL file and you can see what's there. Of course PERL DBI::SQLite works great.

    Just an idea... Probably doesn't solve the OP's problem of session specific cookies, but this can show all the cookies.

      I love using SQLite and the associated Firefox plugins, but given the depth of experience suggested by the post, I figured the Firebug UI would greatly facilitate the OP's goal.

      #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.