* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / System.Web / System.Web.SessionState / HttpSessionState.cs
index 901c923401c59ee981a9deae1ece6a5af87d4fa3..2867059771811c03417817df0366752c441acd66 100644 (file)
@@ -5,8 +5,7 @@
 //     Gonzalo Paniagua Javier (gonzalo@ximian.com)
 //
 // (C) 2002,2003 Ximian, Inc (http://www.ximian.com)
-//
-
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-using System;
+
 using System.Collections;
 using System.Collections.Specialized;
 using System.Globalization;
+using System.Security.Permissions;
 using System.Text;
 using System.Threading;
-using System.Web;
 
 namespace System.Web.SessionState {
+
+// CAS - no InheritanceDemand here as the class is sealed
+[AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
 public sealed class HttpSessionState : ICollection, IEnumerable
 {
        private string _id;