Option Explicit On 
Option Strict On
Option Compare Text

Imports System.Data.SqlClient
Imports System.Web.Security

Public Class DefaultPage
	Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

	'This call is required by the Web Form Designer.
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

	End Sub

	Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
		'CODEGEN: This method call is required by the Web Form Designer
		'Do not modify it using the code editor.
		InitializeComponent()
	End Sub

#End Region

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        If Not (Request("action") Is Nothing) Then
            If (CType(Request.QueryString("action"), String).ToLower() = "logout") Then
                'If CType(Session.Item("LoginType"), String) <> "" Then
                Session.Abandon()
                FormsAuthentication.SignOut()
                Response.Redirect("default.aspx")
                'End If
            End If
        End If

    End Sub

End Class
