// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System.Collections;
using System.Collections.Specialized;
using System.Security.Permissions;
+using System.Web;
namespace System.Web.SessionState {
get { return this; }
}
+ public HttpCookieMode CookieMode {
+ get {
+ if (IsCookieless)
+ return HttpCookieMode.UseUri;
+ else
+ return HttpCookieMode.UseCookies;
+ }
+ }
+
public int Count {
get { return container.Count; }
}
get { return container.IsSynchronized; }
}
- public object this [string key] {
- get { return container [key]; }
- set { container [key] = value; }
+ public object this [string name] {
+ get { return container [name]; }
+ set { container [name] = value; }
}
public object this [int index] {
}
}
}
-#endif