I searched on here and found a few topics, but not sure that any of them really answer my question.

My ASP.NET application references a class library I wrote. It has classes like customer, customerproducts, products, etc...

so I want to have a global variable that is set when a customer would login to the site, for the customer class, and this variable would be carried across the entire asp.net application, so basically

Public CurrentCust as New Customer

and then in any given aspx page I would access this variable

so I am looking to know if this is possible using a variable declared public in the same fashion as lets say a module in a VB.NET application, or if I need to use session variables instead.

What is the best course of action for this type of situation?