PDA

View Full Version : Setting cookies for firefox from C


svero
04-29-2006, 09:46 AM
I set cookies for ie from c using the wininet code for some affiliate id stuff. I want to make it work with firefox as well. Does anyone know how I'd do that or have a link to a site with some example code?

jankoM
04-29-2006, 11:03 AM
is that feature of IE or security hole?

oNyx
04-29-2006, 04:41 PM
>is that feature of IE or security hole?

A bit from column A and a bit from column B.

Using a url file and embedding the affiliate into it should be the best (100% compatible) option.

Eg:
[InternetShortcut]
URL=http://www.domain.tld/affiliate_here/game

svero
04-29-2006, 06:40 PM
Hrmmmm... stupid firefox... Well the URL file thing is a nightmare, but it's looking like I might have to do something along those lines. What a load of crap. Can't you people just use IE like normal folk? stupid slash dotting.. tabbed browsing.. linux using trouble making... grr...

oNyx
04-29-2006, 09:04 PM
Well, just adding the affiliate to url files and links of those in-game buttons is surely less painful than fiddling around with cookies of different browsers (especially if their inner workings can and will change from version to version).

svero
04-29-2006, 09:14 PM
Yeah.. I made the incorrect assumption that cookies were handled in some standard way through windows. The reason I went down that path in the first place though was because there were certain URLS i couldn't easily modify on the fly that I didn't want to lose.. buy ah well.. its a moot point. Doesn't work.

Olivier
04-30-2006, 01:52 AM
Since your tracking system is based on cookies, couldn't Google Analytics be of some help?