Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InternetSetCookie and FireFox
Message
 
To
15/05/2007 08:25:24
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01224765
Message ID:
01227056
Views:
18
>> Does anyone know of a programmatic way of adding a FireFox cookie to a users machine similiar to InternetSetCookie()?
>>
>
>You could try hacking cookies.txt in the profile folder.

It looks like that may be my only option. I was really hoping someone had already done the dirty work <g>

I can see where one first has to find out if Firefox is installed and is the default browser before doing anything. Then one has to find the current user and then get the path to that user's folder and then navigate to the Firefox directory such as "C:\Documents and Settings\John Smith\Application Data\Mozilla\Firefox\Profiles\default.84w" and then add the cookie to the cookie.txt file.

I'll let everyone know if I get around to putting the pieces together to do this in one simple function.

Thanks.

Ed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform