Neeraj Neeraj - 2 months ago 17
ASP.NET (C#) Question

How asp will recognize user?

As i know, asp recognize the user based on session id and the session id stores in cookie.

If i delete the browser cookie then session id also will be deleted, then how asp recognizes user in this situation?

Answer Source

Its creates a new cookie and its see him as a new/different user.

The users (mainly) can recognize by two cookies - the one is for the session, and the other is the authorization cookie, if the user is logged in.