Skip to main content
Participant
March 30, 2009
Question

how to avoid persistent cookie sets 30 years expiration

  • March 30, 2009
  • 3 replies
  • 572 views
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?
    This topic has been closed for replies.

    3 replies

    Inspiring
    April 1, 2009
    pdkt622001 wrote:
    > 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?

    Participant
    March 31, 2009
    I would appreciate you on this. its now working as i expected.
    Inspiring
    March 30, 2009
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_17915

    Cover this concept in good detail, if horribly formated, at least in my
    browser.