I have the following basic class in a Tier outside of the Web Layer that needs to access the session:
what do I need to be able to access the current user's session in this layer?
Code:
Imports System.Web.UI.WebControls
Namespace PageState.Sessions
Public Class Sessions
Private Sub NoUserObjectRedirect()
If IsNothing(Session("CurUserObj")) = True Then
Response.Redirect("./Login.aspx?TimedOut=TimedOut")
End If
End Sub
End Class
End Namespace
what do I need to be able to access the current user's session in this layer?