I am trying to access the current page of this visitor in order to do a response.redirect from within a class. It looks like:
Public Class systemSecurity
Public Sub checkSecurity(ByVal currentPage As String)
If HttpContext.Current.Session("userLoggedOn") <> True Then 'prompt for login
Perhaps I'm approaching this in the wrong way. I've had problems before with understanding the httpContext from within a class. I guess I don't know how to phrase the problem, because I can't find anything on MSDN about issues like this.
Thanks for any help!