
Partial Class Admin_Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Session("SupplierID") = Nothing
        If Session("AdminID") Is Nothing Then
            Response.Redirect("AdminLogin.aspx?sesn=expire")
            Exit Sub
        End If

        'If Session("AdminID") = Nothing Then
        '    Response.Redirect("AdminLogin.aspx")
        'End If
        'Dim logName As String = Request.QueryString.Get("logName")
        'Dim logTime As String = Request.QueryString.Get("logTime")
        'If logTime <> "" Then

        '    tdlog.InnerHtml = "You previously logged on " & logTime
        '    InsertAdminUserLog(Session("LogKid"), logName, 0, "AdminLogin", "Update")
        'End If
        ''InsertAdminUserLog(Session("LogKid"), logName, 0, "AdminLogin", "Update")
    End Sub
  


End Class
