Top "System.web" questions

How do I access HttpContext.Current.Session in a class library?

So, I am creating a class library that handles user information like username, password, etc. I want to do this …

session c#-4.0 httpcontext class-library system.web
httputility does not exist in current context in framework 3.5

I'm trying to use HttpUtility.UrlEncode in my sharepoint project in the framework 3.5 but it doesn't recognise it. Simply saying : …

c# http sharepoint system.web