Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InternetSetCookie and FireFox
Message
 
À
15/05/2007 08:25:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01224765
Message ID:
01227056
Vues:
26
>> 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform