Hi all,
Wondering if anyone can shed any light on this...
I have an app that uses roles based security and it seems to be working pretty well, but I need to work with users email address etc throughout the site.
I could use Session variables but since I am already using forms based authentication and thus cookies it can have issues where the session times out and the authentication doesn't. So I am thinking the Identity;
i.e. You know how you can use User.Identity.Name, I want to add User.Identity.Emailadd or something
I think its something to do with IPrincipal or IIdentity but thats about as much as I know.
If anyone has any ideas they would be most appreciated.
Cheers,
hads
Wondering if anyone can shed any light on this...
I have an app that uses roles based security and it seems to be working pretty well, but I need to work with users email address etc throughout the site.
I could use Session variables but since I am already using forms based authentication and thus cookies it can have issues where the session times out and the authentication doesn't. So I am thinking the Identity;
i.e. You know how you can use User.Identity.Name, I want to add User.Identity.Emailadd or something
I think its something to do with IPrincipal or IIdentity but thats about as much as I know.
If anyone has any ideas they would be most appreciated.
Cheers,
hads