I am working on a simple counter.

When the page is hit, a file is opened and records the hit (an invisible counter). However, I wish to prevent the counter from counting reloads but I don't want to use cookies. Is this possible? Or would I have to use sessions or stuff like that?