I have a web application with C#.net.
I initialize session variable from a aspx web page (EX: Session.Add("city","New York").
After, I create a class .cs to get session variable value.
In my class : HttpSessionState ses = new HttpSessionState()
when I build.. show error: No overload for method 'HttpSessionState' takes '0' arguments.
I want to get sesion value in my class .cs, if my statement is wrong then you can help me ...in other way.
Why is it occur that? Could you help me? any other way?
Thank so much.