Home » Questions » Computers [ Ask a new question ]

How can I copy a cookie from one machine to another?

How can I copy a cookie from one machine to another?

I am unable to login to certain websites (such as StackOverflow) because the login URL is getting blocked (not the whole website) via a firewall.

Asked by: Guest | Views: 338
Total answers/comments: 1
Guest [Entry]

"Firefox cookies are stored in the files cookies.sqlite and cookies.sqlite-journal in the folder

%APPDATA%\Mozilla\Firefox\Profiles\<profile>

where %APPDATA% is an environment variable that holds the path of the user's application data folder (which varies between Windows versions and languages), and <profile> is the name of the profile, which has a ""random"" component and ends with the profile name; if you don't have multiple Firefox profiles, there should be only one directory.

However, this means you cannot copy individual cookies, only the entire cookie database; and I am not 100% sure that simply copying the files will work."