%@ LANGUAGE="VBSCRIPT" %> <% 'Response.Expires = -1000 'Makes the browser not cache this page 'Response.Buffer = True 'Buffers the content so our Response.Redirect will work Dim username username = Session("username") 'username = Request.Cookies("username") if((""+username) = "undefined") Then username = null end if if((Request.Form("logout") = "logout")OR(username=null) OR (username=""))Then ' Response.Cookies("username") = "" Session("username") = "" Response.Redirect("logoutmess.html") end if %>