This seems to be something black hat to me.I had tried to ping my site 2 times within 5 minutes and I got a message saying that you cant ping that often.
Pinging the site every time a visitor comes seems to be the same thing and could get our sites banned and we wont be allowed to ping again.
I am not sure about this. But this is just what I think.
bye,
faraz