You can only close a window which your code has opened. This would be done using Javascript and the window.open object. You could then have a counter of some sort in CF and each time the user attempts to login and fails increment the counter. Then have a small piece of code at the begin of the login script to say if the count equals three close the window. Once again, using Javascript.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.