• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

problem with cfcookie

Guest
Jan 12, 2014 Jan 12, 2014

Copy link to clipboard

Copied

Hi

I have some problem with cfcookie.

No where CFCOOKIE tag or javascript fns are used to create  a cookie from the code. But cookies are created and stored in the local system once logged into appln. By default expire value displayed for the cookie file is 30yrs from now I.e., 1/5/2044.

please suggest me some solution to delete the cookie file from client machine on session time out or browser close.

Q : How can we delete CFID and CFTOKEN values from cookie file stored on client machine?

Please let me know ASAP.

Detaiils of my cfapplication tag

<cfapplication name="xxxxxx" clientmanagement="yes" setclientcookies="yes" scriptprotect="all" clientstorage="Cookie">


Thanks in advance

kalyani.

Views

402

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 13, 2014 Jan 13, 2014

Copy link to clipboard

Copied

LATEST

The attributes setclientcookies="yes" and clientstorage="Cookie" tell ColdFusion to store cookies on the client's computer. You suggest you use sessions, so your cfapplication tag could be something like this:

<cfapplication name="xxxxxx" clientManagement="yes" sessionManagement="yes" setClientCookies="no" scriptProtect="all" sessionTimeout ="#createTimeSpan(0,0,20,0)#">

However, with no CFID or CFToken cookies on the client, ColdFusion will be unable to maintain sessions automatically. You will therefore have to do so manually. Also, client variables will be stored by default in your server's registry.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation