Question
how to avoid persistent cookie sets 30 years expiration
We are using coldfusion version 6.1. In one of our login, we
configured the variables in Application.cfm which sets expiration
by default to NEVER, I guess. The below is tag we used in one of
our Application.cfm.
<CFAPPLICATION NAME="pm"
SESSIONMANAGEMENT="yes"
SESSIONTIMEOUT="#CreateTimeSpan(0,0,30,0)#"
APPLICATIONTIMEOUT="#CreateTimeSpan(0,0,30,0)#" setdomaincookies="Yes">
I want to be the expiration removed after closing the browser or I can set the date to be 1 day or something like that.
Would anyone please throw some light on this?
<CFAPPLICATION NAME="pm"
SESSIONMANAGEMENT="yes"
SESSIONTIMEOUT="#CreateTimeSpan(0,0,30,0)#"
APPLICATIONTIMEOUT="#CreateTimeSpan(0,0,30,0)#" setdomaincookies="Yes">
I want to be the expiration removed after closing the browser or I can set the date to be 1 day or something like that.
Would anyone please throw some light on this?
