How to get session in cs or class file

String sessionId = (string) HttpContext.Current.Session.SessionID