<% If not session("discussionlogin") then If request("login")<>"" then result = login( request("email"), request("password"), request("remember") ) End if End if If request("logout") then session("discussionlogin")=false session.Abandon Response.Cookies(siteurl)("uid") = "Logged Out" Response.Redirect "./" End if If session("discussionlogin") then Response.Redirect "./" Else%> <%=sitename%> <%=meta%> <%searchbox%><%loginform%>


<%=result%> <% If not session("discussionlogin") then response.write "Please login." End If %>


<%End if%>