Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'UserSession' is not declared.

Source Error:


Line 14:                 lblSession.Text = dt.Rows(0)(0)
Line 15:             End If
Line 16:             If UserSession.GetUserData.Role_Id = "1" Then
Line 17:                 Response.Redirect("~/Online_Registration/Admin/Default.aspx")
Line 18:             ElseIf UserSession.GetUserData.Role_Id = "0" Then

Source File: D:\Websites\AgnelGreaterNoida\Online_Registration\Default.aspx.vb    Line: 16






Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062