Try putting this in the top of your template. Make sure your session
variables are turned on in the application.cfm file.
<cfparam name="session.login_attempts" default="0">
<cfset session.login_attempts=session.login_attempts+1>
<cfif session.login_attempts gt 3>
<cflocation url = "whatever.cfm">
</cfif>
------------------------------------
Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net
====================================
> -----Original Message-----
> From: Jerry Staple [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 29, 2001 12:36 AM
> To: CF-Talk
> 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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists