ASP.NET MVC Session State -
Is there any way to tell whether a visitor is new to a site or once again to a hit counter an objective?
Sessions are not actually present in MVC, so I know that I can not really use them ...
Is there any way to tell whether a visitor is new to a site, or to the hit counter again and again?
The stateless nature of the web is not a 100% reliable way, but for the purposes of a counter, setting a cookie and checking whether it is or not, in most cases Is enough for
Sessions are not actually present in MVC, so I know that I can not really use them ...
This is not true . You can also use session
in ASP.NET MVC. However, in general you should avoid server-side state as much as possible to reduce scalability.
Comments
Post a Comment