A
angela
Hi,
Quick question:
I have set a persistent cookie on my login page and have the following
in the web config.
<forms name="BeanAppAuth" loginUrl="Login.aspx" protection="All" />
I know I can do this:
Dim objUserIdentity As FormsIdentity
If User.Identity.IsAuthenticated Then
objUserIdentity = User.Identity
Response.Write(objUserIdentity.Name)
End If
To get the username but how do I do this via the cookie name??
Response.Cookies("BeanAppAuth").Value ??
Thanks
Angela
Quick question:
I have set a persistent cookie on my login page and have the following
in the web config.
<forms name="BeanAppAuth" loginUrl="Login.aspx" protection="All" />
I know I can do this:
Dim objUserIdentity As FormsIdentity
If User.Identity.IsAuthenticated Then
objUserIdentity = User.Identity
Response.Write(objUserIdentity.Name)
End If
To get the username but how do I do this via the cookie name??
Response.Cookies("BeanAppAuth").Value ??
Thanks
Angela