How do I know whether a particular request is a first time request or second time request. I need to implement some logic only for the second time request.
Also I want to know how many times a request has come from the same user. I need to ask the user to login after certain number of usages to the site.
Utilizing a session would only work up to the point of a session timeout. It could not, for exammple, determine if the user had visited the day before.