- Paul Prince
- Flag Master
Offline
- From: Canary Islands
- Registered: August 9, 2011
- Posts: 4,492
Question Regarding Cookies.
Can somebody who knows what they are talking about (LICA don't respond) explain to me exactly how the fc cookies work?
As far as i knew, if you "hit" a counter the counter generates a permanent cookie to sit on the "hitters" pc, which would then mean that machine couldn't hit the same counter again ever, without deleting its cookie. Is this correct?
And if this is the case how exactly is the cookie working? I assume it doesn't use the mac ad or proxies wouldnt work (and they do).......
So from this....my thought is that is must be either the ip/isp/or server......
It can't be the server because you would never get a hit from 2 different ip's on the same server, and you do.
It can't be the isp for the same reason, which only leaves the ip....... and i know this isn't the case either......
So how exactly do they work? What determines if you can or can't hit a counter and be counted as a "new user" ??
Last edited by Paul Prince (March 29, 2012 8:53 am)
On The 8th Day God Created A Megamix, & The Heavens Danced.
- rob12345
- Flag Fanatic
Offline
- From: Northampton, UK
- Registered: July 4, 2011
- Posts: 1,548
Re: Question Regarding Cookies.
My understanding is that when the flagcounter image loads on a page, it will query the visitors machine for an existing cookie and determine whether it is a new visit or not from that.
Some users don't allow cookies, so they will always show as new visits. I am guessing that military owned computers will be among these, which would be why people get "new" visits from UM most days and why most of my IO visits are from the same person.
In addition, in answer to another query I had, jeremy said that some browsers won't allow a domain to set more than 50 cookies, and the oldest will get deleted when this is exceeded - this would mean that as someone visits pages with many counters (eg some last.fm pages), their cookie will eventually get deleted and they will show as a new visitor again.
- Paul Prince
- Flag Master
Offline
- From: Canary Islands
- Registered: August 9, 2011
- Posts: 4,492
Re: Question Regarding Cookies.
yes.....but what determines if you are a new visitor?
and how is it then possible to hit the same machine multiple times using proxies, and counting as a new visitor everytime? in other words....why is it different using a proxy, than say if your ip was randomly generated from the isp?
On The 8th Day God Created A Megamix, & The Heavens Danced.
- •
![](https://cdn.boardhost.com/invisible.gif)
- jimctu
- Flag Enthusiast
Offline
- From: Brazil - Minas Gerais
- Registered: August 27, 2010
- Posts: 689
Re: Question Regarding Cookies.
when you have a fc cookie on your pc, you cannot be a new visitor to the counter even if you are using a proxy. I think there is a if on the code:
if(there is cookie) new visitor = false;
else new visitor = true;
it has nothing to do with the IP, just your machine. So, if you are using a proxy, and want to be a new visitor, you can clean your cookies and just load the page ^^
Countries: 250 Total Flags: 1974
- Paul Prince
- Flag Master
Offline
- From: Canary Islands
- Registered: August 9, 2011
- Posts: 4,492
Re: Question Regarding Cookies.
you are a new visitor if you use a different proxy though, which is my point/question.....as you are still hitting from the same machine
On The 8th Day God Created A Megamix, & The Heavens Danced.
- •
![](https://cdn.boardhost.com/invisible.gif)
- Sanya
- Flag Expert
Offline
- Registered: January 1, 2012
- Posts: 2,662
Re: Question Regarding Cookies.
Cookies are part of your web browser and it depends on your own browser settings/preferences how they are being handled. I have several different browsers installed on my computer and they all have different settings when it comes to cookies.
I have an fc cookie set for my own flag counter in Firefox. When I visit my webpage using Firefox, I’m not counted as a new visitor. Doesn’t matter which IP or proxy I use, fc won’t register my visit as new for a time period of 6 months after which the cookie will expire.
However, I don’t allow any cookies in Internet Explorer. My visits to any webpage with a flag counter image (even my own) using Internet Explorer will always be counted as new. Cookies in IE have nothing to do with my cookies in FF (or any other browser installed on my computer), even though I’m using both browsers at the same time and from the same computer.
- Paul Prince
- Flag Master
Offline
- From: Canary Islands
- Registered: August 9, 2011
- Posts: 4,492
Re: Question Regarding Cookies.
yea i understand that......but im not talking about settings and different browsers etc.....
what im trying to find out is what data the cookie uses to determine a "new visitor" or not.
for example.....i can hit the same counter with different proxies....each will count as a new user first time.....if however i try a second hit with the same proxy im counted as not a "new visitor"....
so what exactly is the cookie logging???
On The 8th Day God Created A Megamix, & The Heavens Danced.
- •
![](https://cdn.boardhost.com/invisible.gif)
- Sanya
- Flag Expert
Offline
- Registered: January 1, 2012
- Posts: 2,662
Re: Question Regarding Cookies.
I get what you're trying to say now.
Well, I imagine it's logging your session time - how much time passes between two hits from the same IP address. That's how other similar cookies work, but their time frame varies from site to site. Some last 30 minutes, others more. Maybe you should do an experiment. You could also check your folder with cookies and see, if you find any info there. Or wait for Jeremy to answer your question.
- Jeremy
- Administrator
Offline
- From: United States
- Registered: August 30, 2009
- Posts: 2,774
Re: Question Regarding Cookies.
We set a permanent cookie after a counter is displayed.
If you were to load your site using a proxy server, that server is accessing the site on your behalf, and the cookie on your computer is unable to be accessed.
Flag Counter Developer
Boardhost.com, Inc.
- Paul Prince
- Flag Master
Offline
- From: Canary Islands
- Registered: August 9, 2011
- Posts: 4,492
Re: Question Regarding Cookies.
Jeremy wrote:
We set a permanent cookie after a counter is displayed.
If you were to load your site using a proxy server, that server is accessing the site on your behalf, and the cookie on your computer is unable to be accessed.
Thank you, that's all i needed to know !!
On The 8th Day God Created A Megamix, & The Heavens Danced.
- •
![](https://cdn.boardhost.com/invisible.gif)