<% Option Explicit %> <% 'Clear the current sessions Session.Abandon 'Clear the cookies Response.Cookies("Login")("UserGood") = "" Response.Cookies("Login")("Usercode") = "" 'Reset Sever Objects Set adoCon = Nothing Set strCon = Nothing Dim strGoBackPage strGoBackPage = Request.QueryString("ReturnPage") & ".asp" If strGoBackPage = ".asp" Then strGoBackPage = "login.asp" Response.Redirect(strGoBackPage) %>