http://qs1969.pair.com?node_id=11135092


in reply to Re^2: Loading browser cookies into WWW::Mechanize
in thread Loading browser cookies into WWW::Mechanize

"I don't know how to do this on Windows. If you know, send a pull request. That goes for other systems too."

See Windows Credential Manager, IIRC cmdkey is the command line tool, and there's an API.