Question

I am using Mozilla firefox to logged-in a particular website, and there are times that I used Internet explorer to logged-in also in the same website.

I'm also using TWebbrowser from Delphi(mywebbrowser), and when I point the URL to navigate, it points that Im already logged-in from Internet Explorer, But I want to use the cookie of Mozilla Firefox, so if Im logged-in to a website using Firefox and Use my own WebBrowser I will not have to logged-in anymore.

Just want to ask if possible to set the cookie of Mozilla Firefox to Internet Explorer will solved? OR there's a lot more than that?

thanks

Was it helpful?

Solution

TWebBrowser is a wrapper for IE's ActiveX/COM object, which shares the same core with the standalone IE browser, which includes cookies.

For what you are asking, you would have to manually access and export Firefox's cookies (I don't know if Firefox has an API for that but I doubt it, so you will have to search online for more details) and re-format them as text files saved into IE's cookies folder. Neither Firefox nor IE will do the export/import for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top