string strGuiDate = "14.03.2008"; CultureInfo guiCulture = new CultureInfo("fi-FI"); guiCulture.DateTimeFormat.DateSeparator = "."; DateTime datetime = DateTime.Parse(strGuiDate, guiCulture); CultureInfo dbCulture = new CultureInfo("en-US"); dbCulture.DateTimeFormat.DateSeparator = "-"; string strDbTime = datetime.ToString("yyyy-MM-dd"); logger.Debug("strDbTime is " + strDbTime); DateTime datetime1 = datetime.AddDays(1.0); string strDbTime1 = datetime1.ToString("yyyy-MM-dd"); logger.Debug("strDbTime1 is " + strDbTime1);
Lost ASP.NET Identity Cookies on IIS Application Pool Restarts
-
[image: Cookie Monster Attack On Iis]
Last week I finally updated my blog and moved it to .NET 10 from the
ancient WebForms based engine I built 20 years...
1 week ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!