Update MvcModule.cs

This commit is contained in:
jtkech
2015-10-20 05:56:27 +02:00
parent 0384c55011
commit fbd0f878f5

View File

@@ -210,6 +210,17 @@ namespace Orchard.Mvc {
get { return false; }
}
/// <summary>
/// Create an anonymous ID the same way as ASP.NET would.
/// Some users of an HttpRequestPlaceHolder object could expect this,
/// say CookieCultureSelector from module Orchard.CulturePicker.
/// </summary>
public override string AnonymousID {
get {
return Guid.NewGuid().ToString("D", CultureInfo.InvariantCulture);
}
}
// empty collection provided for background operation
public override NameValueCollection Form {
get {