Reputation: 31
I have defined the cookie the Application.cfm page , But that is getting deleted Autometically , I need to again try to login to have the cookie defined.Not facimg issue with All the cookie any facing issue with cookie named THEMEMODE. Tried adding Expired date for the cookie. Still issue exist
<CFCOOKIE NAME="THEMEMODE" VALUE="0">
<CFCOOKIE NAME="IntranetEmail" VALUE="#get.email#" expires="#ExpireDate#">
<CFCOOKIE NAME="EmployeeDeptId" VALUE="#get.DeptId#" expires="#ExpireDate#">
<CFCOOKIE NAME="Password_Dt" VALUE="#get.password_dt#" expires="#ExpireDate#">
<CFCOOKIE NAME="Display" VALUE="#get.EmployeeID#" expires="#ExpireDate#">
<CFCOOKIE NAME="THEMEMODE" VALUE="0">
Upvotes: 0
Views: 50
Reputation: 31
The THEMEMODE cookie is being set without an expiration date, which causes it to behave like a session cookie. This means the cookie is deleted when the browser is closed.
Update the following code might work
Upvotes: 1