I'm working on an ASP.NET project, and I'm having trouble getting session variables to work across the entire project. Specifically, I'm saving a value to the session like this:
Session["ConsumerId"] = lobjlogin.ConsumerId;
However, when I try to access this session variable in different parts of the project, it's not working as expected.