2008-06-02から1日間の記事一覧

ASP.NETのセッションの型制御

CodeProjectの記事より1.型の管理用ファサードクラス public static class MySession { private const string _myDate = "MyDate"; public static DateTime MyDate { get { if (HttpContext.Current.Session[_myDate] == null) return DateTime.MinValue; …