GenericPrincipal
- From: Erick <josefszeliga@xxxxxxxxxxx>
- Date: Sat, 08 Sep 2007 22:42:49 -0700
I'm trying to create a use a genericprincipal object with roles
authorization to use in my asp.net apps
My user directs new users to an asp.net login page.
They log in and I use that ifnormation to create a genericidentity.
Then i get their roles from the data store and use that and the
generic identity to create a genericprincipal object.
I then assign the genericprincipal object to the
My.User.CurrentPrincipal.
It all works fine up to this piont
The problem occurs when I navigate to a new page.
I lose the generic identity and all the roles.
Surely I don't need to go to the datastore each time i navigate to a
new page ?
Why aren't all my values of the GenericPrincipal which i attached in
My.user.Currentprincipal
saved for the user's ENTIRE SESSION ?
Thanks
Erick
.
- Follow-Ups:
- Re: GenericPrincipal
- From: Dominick Baier
- Re: GenericPrincipal
- Prev by Date: Isolated Storage Woes
- Next by Date: Re: Shared Configuration File Encryption
- Previous by thread: Isolated Storage Woes
- Next by thread: Re: GenericPrincipal
- Index(es):
Relevant Pages
|