KnowDotNet Visual Organizer

Net Sessions - Manage ASP.NET Session Variables

Using Properties for Session Variables

Session Variables can be maintained as Public Properties by Net Sessions. Figure 1 shows how properties are generated automatically in an empty class, if you choose this type of storage option.  Net Sessions is available for purchase or Free 30 Day Trial.  Click here to download.


Figure 1 - Property Generation by Net Sessions.

Property Session Variables


As with Const and Enum Session Variables, Property Variables provide Intellisense as shown in Figure 2.

Figure 2 - Property Variable Intellisense.

Property Intellisense


You can also paste Property Session Variables from the Tool Window.  See the description on the Main Net Sessions Product Page.

Writing Add-Ins for Visual Studio .NET
Writing Add-ins for Visual Studio .NET
by Les Smith
Apress Publishing