Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am writing a java application that shows FireFox cookies. Is it possible to open the cookies.sqlite file and read that database in Java?

I tried with org.sqlite.JDBC driver but without success. And got exception: file is encrypted or is not a database
Will SqlJetDb or anything do the job?
Thanks.
Posted

1 solution

SQLite[^]sqlite is written in C - always a "pleasure" to work with this.

For better information of the cookie handling check the Mozilla Developer Guide[^]. Firefox is a Mozilla project.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900