Make 'SessionDefaults' fields as Constants

This commit is contained in:
Hisham Abdullah Bin Ateya 2015-06-22 20:39:50 +03:00 committed by Chris R
parent c858e3bfcd
commit 9ce60218c1
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Session
{ {
public static class SessionDefaults public static class SessionDefaults
{ {
public static string CookieName = ".AspNet.Session"; public static readonly string CookieName = ".AspNet.Session";
public static string CookiePath = "/"; public static readonly string CookiePath = "/";
} }
} }