How can I use Session variables in a class

Platform: ASP.NET|Category: Session
Use HttpContext.Current.Session

VB.NET

HttpContext.Current.Session('Value1') = '1'

C#

HttpContext.Current.Session['Value1'] = '1';

In similar manner you can use Application Variables too.