waynelambright wrote:
I had the same problem. I put
'////////////// kick out code ///////////////////////////////////////////
If lngLoggedInUserID = 2 And NOT blnShowThisPage Then ' Call closeDatabase() response.redirect("login_user.asp?TakeAction=1") End If
'////////////// kick out code ///////////////////////////////////////
in the common.asp page.
why? because i'm making a version that you to registered to see anything.
when I place that code in the common.asp page.
the captcha is gone on the register.asp page.
|
I fixed it by putting this on the CAPTCHA_image.asp page. since this ( blnShowThisPage = True )was missing it would not kick people out.
<% @ Language=VBScript %>
<% Option Explicit %>
<!--#include file="KickOUT.asp" -->
<% blnShowThisPage = True %>
<!--#include file="common.asp" -->