Maybe add the "expires" attribute to the CFCOOKIE tag?

<cfcookie name="buggerOff" value"failed login attempy" expires"#dateAdd(NOW(), 
'n', 30)#">

This will write a cookie that will expire 30 minutes from the date written

Steve

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sameer Kekade
Sent: Monday, January 17, 2005 12:08 PM
To: CFAussie Mailing List
Subject: [cfaussie] Cookies anyone?
Importance: High

Hey all,

Is there any way to make a cookie expire after 30 minutes?

I want to prevent the user from logging into the website after x number
of failed attempts for at least 30 mins on that machine. 

Does any body know how to achieve this?? 

Another approach could be logging and blocking by the IP ADDRESS of
client machine, but I think this is a bit unreliable since an IP address
could be shared for different machines.

Warm Regards,
Sameer S. Kekade.


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to