Custom Authentication Ticket

From: chipshot (miwivi_at_yahoo.com)
Date: 06/26/03


Date: 26 Jun 2003 08:29:16 -0700


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.



Relevant Pages

  • RE: How do I keep a FormsAuthenticationTicket up to date ?
    ... // UPDATE USER ROLES HERE WITH DB ETC. ... When a user logs in, their roles are retrieved from a SQL Server ... database and an authentication ticket is created. ... the database to be picked up every time the user logs in. ...
    (microsoft.public.dotnet.security)
  • Re: How do I synchronise Role Based Security ?
    ... try adding some more information to the UserData property of the ... > When a user logs in, their roles are retrieved from a SQL Server ... > database and an authentication ticket is created. ... > the database to be picked up every time the user logs in. ...
    (microsoft.public.dotnet.csharp.general)