This will do it no questions, forcing cold fusion to provide a new pair of cookies
on the next request! (it will not remove the client variables from the
registry/database
though)
Add this to the outputted HTML of the Logout page and it will kill the cookies
without having to shut down the browser. Even when clearing client variable
etc CF tends to give you back the same pair. Doing it on the client side removes
this issue.
<script language="JavaScript">
function ClearCookie(name) {
var HundredDays = 100 * 24 * 60 * 60 * 1000;
var expDate = new Date();
expDate.setTime (expDate.getTime() - HundredDays );
document.cookie = name + "=Goodbuy!; expires="
+ expDate.toGMTString();
}
ClearCookie("CFID");
ClearCookie("CFTOKEN");
</script>
Elliot Russo
Web Application Developer
Sydney Australia
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com