public static void SetValue(this System.Web.HttpSessionStateBase session, SessionIndex sindex, object value) { session[sindex.ToString()] = value; }
public static object GetValue(this System.Web.HttpSessionStateBase session, SessionIndex sindex) { return(session[sindex.ToString()]); }
public override string ToString() { return(SessionName + " - " + SessionIndex.ToString()); }