| Partner Links |
DVD Software |
|
| Home : ASP.NET : Articles, Tips & Tutorials : Sessions & Session State | | Click "Subscribe" if you want to be notified of new or updated links in this category. | Subscribe |
|
Sessions & Session State Listings |
|
Total:
8 | Displaying: 1 - 8 |
|
|
|
|
A Session Data Management Tool
|
Website
Refer
Review It
|
In an ASP.NET application, it is very easy to pass session data from one web page to another. For example, the following code stores three pieces of data of an internet session using the .NET web session provided by the .NET framework...
Updated: 05/01/2004
|
|
Exposing the Session Object as a User Defined Class
|
Website
Refer
Review It
|
A simple way to encapsulate all Session object variables in a user defined class
It has been known to happen that, values strored in the Session object can become numerous enough to be unwieldy, ambiguous and often developers will just plain forget what they have stored there. Recently I decided to simplify the matter for myself and began to use an object that I named a SessionSink and placed all session values in the sink object rather than having (n) number of variables making for clutter and difficulty in management. By using the SessionSink we can encapsulate all Session values into one object stored in the Session object. Furthermore we are able to use all the encapsulation practices afforded to us by wrapping it all up in one single user defined class...
To read more, click the `visit` link above.
Updated: 01/02/2004
|
|
Tracking Session Changes using HttpModule
|
Website
Refer
Review It
|
A custom HttpModule to display the session data before and after a page request at the end of the page ouput.
When I started working in ASP.NET, I was very much excited and impressed with the tracing functionality. Just by adding a single attribute `trace=true` at the page level or by updating the trace section in web.config, each page rendered information (Request Details, Trace Information, Control Tree, Session State, Cookies Collection, Header Collection, Server Variables) after the actual content of the page...
To read more, click the `visit` link above.
Updated: 01/02/2004
|
|
Exploring ASP.NET Session State and Cache data
|
Website
Refer
Review It
|
An article showing how to create quick, `easy to use` views of session state and cache.
On all the previous ASP and ASP.NET web sites I have worked on I have thought how useful it would be to have some quick and `easy to use` view of Session State and the Cache without having to sit with the debugger and manually step through each one.
As soon as you get a few developers working on a site you face the possibility of session and/or cache abuse. By this I do not mean to suggest that anything malicious might be going on, simply that there is the potential for sloppy use of these facilities. For example, putting information into session state that really shouldn`t be in there or multiple developers putting identical data into session state under separate keys.
Under these circumstances it would be useful to have one or more utilities to allow you to view the contents of session state and the cache.
In this article I will show how to create these quick, `easy to use` views of session state and cache. Along the way we will touch on the subjects of HttpHandlers, custom configuration sections and binary serialization...
To read more, click the `visit` link above.
Updated: 01/02/2004
|
|
Offering a better (ODP Compliant) ASP.NET Session object
|
Website
Refer
Review It
|
This article discusses the problems and the available solutions for maintenance and utilization of ASP.NET session state of the .NET session object. We will start with exploring major issues working with the existing session, by introducing several scenarios in which the session fails to supply a total ODP compliant solution. Then we will experience two ways to create a better session object and the ways to implement them in any desired application. Aside to the conceptual and architecture pans of this article I will also cover: the creation of a C++.NET DLL from a managed and an unmanaged code, the working method with MailSlots, the use of memory map files (MMF), the use of remoting in synchronous/ asynchronous methods and the creation of a new Page and Session super class using C# code. This article is an overview of an open source project that I started in Sourceforge [^]). If you find these subjects interesting and if you are willing to contribute and to face the challenge, we will be happy having you on board...
To read more, click the `visit` link above.
Updated: 01/02/2004
|
|
A Session Data Management Tool
|
Website
Refer
Review It
|
Introducing a .NET web service to manage session data for multiple applications.
In an ASP.NET application, it is very easy to pass session data from one web page to another. For example, the following code stores three pieces of data of an internet session using the internal web session provided by the .NET framework...
To read more, click the `visit` link above.
Updated: 01/02/2004
|
|
|
|