I define a cookie conditionally like this:
if (isDefined("persistentCookie")) {
setCookie(cName="session_key", cValue=authResults.session_key, cPersist="true");
} else {
setCookie(cName="session_key", cValue=authResults.session_key);
}
The function sets the expires=never through the parameter cPersist=true.
Question:
How do I test the cookie for expires = "never"?
Thanks in advance for helping.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307667
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4