MembershipProvider - ¿Cookie o Sesión?
Frecuentes
Visto 368 veces
1 Respuestas
3
Respuesta corta:
Galletas.
Respuesta larga:
Ninguno de los dos. La MembershipProvider
class itself does not concern itself with HTTP session state. MembershipProvider
is an abstract base class whose child classes define different ways to manage users, their passwords, etc.
However, ASP.NET uses the FormsAuthentication
class by default to set a difficult-to-guess authentication cookie when the user gets logged in (after authenticating with MembershipUtil
. This in turn allows ASP.NET to populate the HttpContext.Current.User
property during each request.
Respondido el 20 de junio de 20 a las 10:06
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas c# asp.net or haz tu propia pregunta.
do you have link for my reference? - rajeemcariazo
@rajeem_cariazo: Turns out I wasn't quite right. See my updated answer. - StriplingGuerrero