Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

HttpSessionStateContainer.Remove Method

Deletes an item from the session-state collection.

Namespace: System.Web.SessionState
Assembly: System.Web (in system.web.dll)
public void Remove (
	string name
)
public final void Remove (
	String name
)
public final function Remove (
	name : String
)
Not applicable.

Parameters

name

The name of the item to delete from the session-state collection.

If the session-state collection does not contain an element with the specified name, the collection remains unchanged. No exception is thrown.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.