title: How to create a class for session in mvc
body: <p>Im new to MVC.. How to create a class for session like this ..
  abstract the storage of the properties in the Session class.. Please help me out in right way.. Thanks alot in advance</p>
  
  <pre><code>public interface Isession {
      string CurrentUserName();
      string CurrentUserPassword();
      string CurrentUserProfile();
      string CurrentUserLanguage();
      void ClearAllSession();
  }
  
  public class Session:Isession {
      Public static string CurrentUserName{
          get ....?
          set...?
      }
      Public static string CurrentUserPassword{
          get ....?
          set...?
      }
      Public static string CurrentUserProfile{
          get ....?
          set...?
      }
      Public static string CurrentUserLanguage{
          get ....?
          set...?
      }
      Public Static Void ClearAllSession{
      ??
      }
  }
  </code></pre>