After a user logs in to my application, I need to grab some info from the header and assign those values to variables.
This is what I have right now:
UserName and RoleID are strings that are passed through out the application.
1. Is the way to do this? If not please help!!!
2. Should this go into the Page_Load event?
Thanks,
Chilly442
---------------------------------------
If I lived anywhere else I'd be Sunny442
This is what I have right now:
Code:
UserName = Request.Headers("UserID")
RoleID = Request.Headers("RoleCode")
UserName and RoleID are strings that are passed through out the application.
1. Is the way to do this? If not please help!!!
2. Should this go into the Page_Load event?
Thanks,
Chilly442
---------------------------------------
If I lived anywhere else I'd be Sunny442