List(of String)で作成したを含むセッションがありますMain.aspx。私の場合Global.asax、次のコードを実行して、Sessiona が起動された後に値を取得しますTimer。
Private Sub Application_AcquireRequestState(sender As Object, e As EventArgs)
If System.Web.HttpContext.Current.Session IsNot Nothing Then
If Session("Products") IsNot Nothing Then
Response.Write(Session("Products").ToString())
End If
End If
End Sub
ただし、Session("Products")Null を返し、Sub終了します。End SubがMain.aspxリリースされているので、が発火Sessionするたびにが空になるのではないかと思います。何かご意見は?TimerSession