java - Retrieve cookies from browser in stand alone app -


i want access cookies browser (for example firefox) in java stand alone app. can access cookie database or bad approach? there api might solving problem?

cookies stored browser in it's own, proprietary form, i.e. each browser can store in different way. format change between releases of same browser. there no public apis available ask browser it's cookie-db. therefore doesn't make sense try build generic solution tries access browser's cookie db.

if want create application , want use firefox cookies db, not problem , should work. firefox open source , can see how stores it's cookies in db. more recent versions use sqlite db, , file stored here https://superuser.com/questions/387372/where-does-firefox-keep-cookies


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -