POST and GET methods

anbukiller

Registered Member
Joined
Jan 2, 2009
Messages
61
Reaction score
5
I've written an HTTP wrapper in JAVA that implements the basic POST (i.e., to a form) and GET (i.e, retrieve the source code of any page) for any url.

When I use POST or GET on my website (for which I have a page load counter) or on Youtube, it doesn't count as an official "hit" at all. Can the GET and POST method to constitute an page view? I am also accepting cookies btw.
 
I am not totally sure what you're asking here. Are you trying to update your counter on a pageview? If so, can you not write a function and have a <body onload="updatecount"()> or something?
 
i heard somewhere for youtube, all it takes is a header request, try alternating browser agents and proxies, also youtube takes sevreal hours, up to day to refresh its view count i belive

thanks, this is more or less what i was asking. as in, what is the criteria for counting as a "hit" or "page view" on yt and other sites.
 
It depends on the site that is being used, if a pixel needs to load on the page, or the headers that are sent. For example it filters googlebot etc out of the page views by examing the headers.

There is a list of headers here:
http://johnex.se/header_accept.php?cmd=list
 
Back
Top