Getting (another) error and not sure why or how to fix it:
Error
PubClasses.vb
KizMar
------------
Error
Code:
Exception Details: System.Web.HttpException: Session state is not available in this context.
Line 38: Session.Abandon()
PubClasses.vb
Code:
Imports System.Web
Imports System.Web.SessionState
Imports System.Data.SqlClient
Public Class PubClasses
Inherits System.Web.HttpApplication
Public Function LogOut()
' Remove session values
Session.Abandon()
' Pass user back to login page
Server.Transfer("index.aspx")
End Function
End Class
KizMar
------------