Maybe you are asking "can it be any type?" The answer would be "yes." A session variable can hold any type, but be careful, as holding large classes, etc, in session variables can be devastating to scalability.
Suppose there is a web design project (the C # language asp.net2.0), open the project and press F8, vs.net 2005 does not plan to watch every step run debug and run the show always. I want to see the first command is run when you press F8, you have to do ?
Send baigui by line »15 minutes ago
I try to Debug page Default.aspx, Default.aspx.cs it syntax error page, I find the error code in the Default.aspx.cs file does not have this command, see the attached image file error. So a command line, 2.3 where the error lies in the Default.aspx.cs page? can download attachments in error, you run the test.
Line 1: <% @ Page Theme = "Default" Language = "C #" MasterPageFile = "~ / MasterPage / MasterPage.master" AutoEventWireup = "true" CodeFile = "Default.aspx.cs" Inherits = "webapp4U.UI._Default "%>
Line 2: <% @ Import Namespace = "webapp4U"%>
Line 3: <% @ Import Namespace = "webapp4U.BOL"%>