Author: azriley | Posted on: 12/30/2008 3:13:59 PM | Views : 314

I am using forms authentication and considering passing the userID as UserData as pipe-delimited data. In the past I've included a Globals file, which I assumed prepared the role information and passed it along. What I don't get is why I can read the UserData when I comment out the code in globals and simply reference it in default.aspx. Maybe I'm missing something but what functionality is being provided/overrided in the global file, that I should keep it? Thanks - just scratching my head on this one.

login.aspx.cs
1 protected void LoginUser(Object s, EventArgs e)
2 {
3 string roles = "Administrator";
4 string userID = "898777";
5 roles = roles + "|&q ...

Go to the complete details ...