i would like to add a cookie containing a user's organization, but i'm not sure how. i see how, when a user logs in, it creates the username cookie: FormsAuthentication.SetAuthCookie(UserName.Text, RememberCheckbox.Checked). what i don't understand is, looking
at the portalbanner.vb file, it calls the cookie as: Context.User.Identity.Name if i were to say FormsAuthentication.SetAuthCookie(UserName.Text, RememberCheckbox.Checked, Organization) how would i call it later? i don't understand how context.user.identity.name
knows to get the username cookie. is the signin.vb the only place, other than when creating an account, that the username is created? or is it being handled somewhere else? sorry if this sounds confusing, but i am confused :)
i see that people have been reading this post, but haven't gotten any responses. i would like to create and call other cookies, besides just the username cookie that is already set up, but am confused with how it currently works, and therefore can't figure
out how to create others. can anyone help?
thank you very much. i'll take a closer look at that. i'm assuming that it's the same way you set them up in the portal? i know there were quite a few things about asp.net that i thought i knew until i started using the portal and they were handled different
ways, so i'm sort of back to square one.
None
0 Points
35 Posts
creating other cookies
Dec 09, 2004 12:04 PM|aliaga61|LINK
None
0 Points
35 Posts
Re: creating other cookies
Jan 03, 2005 12:30 PM|aliaga61|LINK
Member
160 Points
177 Posts
Re: creating other cookies
Jan 03, 2005 06:39 PM|monu245|LINK
http://www.codaddict.com - A new way to share/store/bookmark your code snippets
None
0 Points
35 Posts
Re: creating other cookies
Jan 04, 2005 07:38 AM|aliaga61|LINK