I am going to maintain a cookie on each of its clients. If the script does not receive this cookie, then this is the first visit (at least in some time) that the client has sent a request to this server, so specify a value of 1 for visits. If a visits cookie is sent with the request, then specify in the response a value for visits that is one greater than the value received.
My question is that how can I retrieve the visiting times?