Geeks With Blogs

News kaleidoscope 1817, lit. "observer of beautiful forms," coined by its inventor, Sir David Brewster (1781-1868), from Gk. kalos "beautiful" + eidos "shape" (see -oid) + -scope, on model of telescope, etc. Figurative meaning "constantly changing pattern" is first attested 1819 in Lord Byron, whose publisher had sent him one.
Kaleidoscope Everything under the sun, ending in .Net

ASP.NET session state lets you associate a server-side string or object dictionary containing state data with a particular HTTP client session. A session is defined as a series of requests issued by the same client within a certain period of time, and is managed by associating a session ID with each unique client. The ID is supplied by the client on each request, either in a cookie or as a special fragment of the request URL. The session data is stored on the server side in one of the supported session state stores, which include in-process memory, SQL Server™ database, and the ASP.NET State Server service. The latter two modes enable session state to be shared among multiple Web servers on a Web farm and do not require server affinity.

Implement Custom session Handler you need to follow following process :

1. Create class library which will inherit from  SessionStateStoreProviderBase abstract Class.

2. Implement all abstract Method in your base class.

3.Use Hashtable collection   in you class file to save session details.

4.Change Mode of session to “Custom” in web.config file and provide Provider as your Namespace with classname.

<sessionState mode=”Custom” customProvider=”Namespace.classname”>


<add name=”Name” type=”Namespace.classname”>


For more Details Please refer following links :



Posted on Thursday, March 25, 2010 8:42 PM | Back to top

Comments on this post: Custom Session Management using HashTable

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © kaleidoscope | Powered by: