Discussion:
how to avoid persistent cookie sets 30 years expiration
(too old to reply)
pdkt622001
2009-03-30 22:18:45 UTC
Permalink
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?
Ian Skinner
2009-03-30 22:23:18 UTC
Permalink
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_17915

Cover this concept in good detail, if horribly formated, at least in my
browser.
pdkt622001
2009-03-31 21:02:50 UTC
Permalink
I would appreciate you on this. its now working as i expected.
Ian Skinner
2009-04-01 14:09:15 UTC
Permalink
Post by pdkt622001
I would appreciate you on this. its now working as i expected.
So how is it working, how did you expect it to work and just what the
heck is *'it'* that you did?

Loading...