To resolve the problem put this code into login.cfm
<cfif isDefined("client.counterVar")>
    <cfset client.counterVar = IncrementValue(client.counterVar)>
<cfelse>
    <cfset client.counterVar = 1>
</cfif>

You can use cfinclude or call the login.cfm as a custom tag, either way the
client scope will persist to the next page load where you can check it for
the appropriate action.

----- Original Message -----
From: "Jerry Staple" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 2:35 AM
Subject: Logon Attempts


> Could anyone inform tell me what would be the best way to implement a
> logon page where the user gets 3 attempts to logon,after the 3 attempts
> the user is directed elsewhere.I have tried setting a variable on the
> application page then adding +1 when it goes to the Logon_Action.cfm but
> to no avail.
>
> Help
>
>
> Regards
> Jerry Staple
> Web Applications Developer
> Biznet Solutions
> 133 - 137 Lisburn Road
> Belfast
> BT9 7AG
> www.biznet-solutions.com
> Tel: +44 (0)28 90205652
> Fax: +44 (0)28 9022 3223
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to