Re: Custom Authentication Ticket
From: James J. Foster (james_at_dotnetcoders.com)
Date: 06/27/03
- Next message: Paul Ingles: "Re: Need to encrypt everything due to new California law? Advice please"
- Previous message: Sudha: "Access Denied error"
- In reply to: chipshot: "Custom Authentication Ticket"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 27 Jun 2003 17:54:43 -0400
I encountered the same hurdle on another project. Although I don't have the
code in front of me, I recall creating a custom structure, serializing it,
and storing it in the ticket field. When you want the data back, deserialize
to your custom data structure.
-- James J. Foster, DotNetCoders http://www.dotnetcoders.com "chipshot" <miwivi@yahoo.com> wrote in message news:19cb55f4.0306260729.482ee227@posting.google.com... > Using forms authentication I want to stor 3 things when a user logs > in. 1)username 2) user id 3) user type. I was hoping to use the Custom > Authentication Ticket but unless I am understanding it wrong it only > allows 1 extra item of information to be stored. Does anyone have a > suggestion on what the best way to store the extra user information? I > was doing it with a session variable that held a structure but would > like to tie it to the cookie that controls access to the app if > possible. Any suggestions? Thanks.
- Next message: Paul Ingles: "Re: Need to encrypt everything due to new California law? Advice please"
- Previous message: Sudha: "Access Denied error"
- In reply to: chipshot: "Custom Authentication Ticket"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]