I'm new to OOP so forgive my ignorance.
I have a login on page that I want to create some global variables for.
I'm currently using Session variables but I want to use a class. Is there a way to create a class and populate its properties with the user's informations.
For example:
When the user successfully logs on, I want to store the user's Name, Address, phone number, Access Level and other data that pertains to the logged on user.
I want to be able to use this data from any page in the project.
Any help will be appreciated!
I'm doing this in ASP.net 2.0 and VB.net
I have a login on page that I want to create some global variables for.
I'm currently using Session variables but I want to use a class. Is there a way to create a class and populate its properties with the user's informations.
For example:
When the user successfully logs on, I want to store the user's Name, Address, phone number, Access Level and other data that pertains to the logged on user.
I want to be able to use this data from any page in the project.
Any help will be appreciated!
I'm doing this in ASP.net 2.0 and VB.net