bulldogniner
New member
- Joined
- Jun 14, 2006
- Messages
- 3
- Programming Experience
- Beginner
I am new to vb.net and need to understand where to put my functions so that they can be accessed by multiple pages. I am developing an asp.net application using vb codebehind.
My application is using masterpages. On the masterpage is a navigation section that needs to be manipulated based on user permissions. I have an xml files that stores the user permissions. Currently, I am parsing the xml file and storing the results in local variable in the masterpage.vb file. I will need to check these permissions on each page. I was thinking that I should put these in some sort of global or session variable so that all my pages can access them.
What is the best solution?
Thanks.
My application is using masterpages. On the masterpage is a navigation section that needs to be manipulated based on user permissions. I have an xml files that stores the user permissions. Currently, I am parsing the xml file and storing the results in local variable in the masterpage.vb file. I will need to check these permissions on each page. I was thinking that I should put these in some sort of global or session variable so that all my pages can access them.
What is the best solution?
Thanks.