举个例子,希望对你有帮信胡助 Your session contains: " & \Session("MySession").ToString() & ""End SubSub CheckSession(sender As Object, eAs EventArgs) 清裂 If (Session("MySession")Is Nothing) Thenspan1.InnerHtml = "NOTHING, SESSION DATA LOST!" Elsespan1.InnerHtml = "Your session contains: " & \Session("MySession").ToString() & "答坦闭"End IfEnd Sub