Forums Register Login

Read (access) FireFox cookies.sqlite file

+Pie Number of slices to send: Send
I am writing a java applet that shows FireFox cookies. How to open the cookies.sqlite of FireFox 5 and read that database in Java?

I successfuly accessed cookies.sqlite of Firefox 3 but can't do it with versions 3+
I tried with org.sqlite.JDBC driver but without success. And got exception: file is encrypted or is not a database.
Is it necessary to decrypt the file first or get a permission?
I tried SqlJetDb and it gives exception "org.tmatesoft.sqljet.core.SqlJetException: NOTADB: error code is NOTADB"

Is there anything else do the task of showing FireFox5 cookies?
Thanks.
+Pie Number of slices to send: Send
Just in case anybody will need it I have downloaded the latest sqlite jdbc 3.7.2 and now everything works fine.

A teeny tiny vulgar attempt to get you to buy our stuff
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 3066 times.
Similar Threads
FireFox 1.0 and Cookies
How to retreive saved cookies
session tracking
Java Applet unable to use a PHP page to store a cookie
Not able to read all the Cookies
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:24:06.