コード例 #1
0
 public void setValues(LogedData Data)
 {
     _sessionStateService.Properties["SavedSession"]    = true;
     _sessionStateService.Properties["BackEndUrl"]      = Data.BackEndUrl;
     _sessionStateService.Properties["WorkSite"]        = Data.WorkSite;
     _sessionStateService.Properties["InternetTimeOut"] = Data.InternetTimeOut;
     _sessionStateService.Properties["SessionTimeOut"]  = Data.SessionTimeOut;
 }
コード例 #2
0
        public LogedData getData()
        {
            LogedData Data = new LogedData
            {
                BackEndUrl      = getValue("BackEndUrl"),
                WorkSite        = getValue("WorkSite"),
                InternetTimeOut = getValue("InternetTimeOut"),
                SessionTimeOut  = getValue("SessionTimeOut")
            };

            return(Data);
        }