Question
sessions not sticking in IE (sometimes)
This problem is killing us and I'm surprised there isn't more
chatter about it.
We have a site that users session variables and does not use client variable.
The cfapplication tag is as follows:
-----------------
<cfapplication name="ourApp" clientmanagement="no" sessionmanagement="Yes" applicationtimeout="#CreateTimeSpan(1,0,0,0)#" sessiontimeout="#CreateTimeSpan(0,0,60,0)#" setclientcookies="No">
-----------------
The next lines are:
-----------------
<cfif IsDefined("Cookie.CFID") AND IsDefined("Cookie.CFTOKEN")>
<cfset cfid_local = Cookie.CFID>
<cfset cftoken_local = Cookie.CFTOKEN>
<cfcookie name="CFID" value="#cfid_local#">
<cfcookie name="CFTOKEN" value="#cftoken_local#">
</cfif>
-----------------
We have also tried removing the setClientCookies="No" and the lines above, and the same result ...
Some users with IE (multiple versions) running mainly on Vista (although some users say they are on XP Pro) simply cannot hold sessions SOMETIMES. It is the craziest thing and we are able to replicate the same intermittant problem by constantly changing the application name and clearing cookies in IE ... sometimes, the cookies will not stick. Once we get the problem going, then cookies will not stick for IE until we change the application name in the cfapplication to some arbitrary new name, and then magically the cookies begin to stick again.
There is no conflict of another cfapplication tag, there is no change in the IE security settings, etc.
Please someone at least let me know we're not insane and that others have reported this same problem? Any solution/work-around out there other than begging our users to all switch to Firefox?
We have a site that users session variables and does not use client variable.
The cfapplication tag is as follows:
-----------------
<cfapplication name="ourApp" clientmanagement="no" sessionmanagement="Yes" applicationtimeout="#CreateTimeSpan(1,0,0,0)#" sessiontimeout="#CreateTimeSpan(0,0,60,0)#" setclientcookies="No">
-----------------
The next lines are:
-----------------
<cfif IsDefined("Cookie.CFID") AND IsDefined("Cookie.CFTOKEN")>
<cfset cfid_local = Cookie.CFID>
<cfset cftoken_local = Cookie.CFTOKEN>
<cfcookie name="CFID" value="#cfid_local#">
<cfcookie name="CFTOKEN" value="#cftoken_local#">
</cfif>
-----------------
We have also tried removing the setClientCookies="No" and the lines above, and the same result ...
Some users with IE (multiple versions) running mainly on Vista (although some users say they are on XP Pro) simply cannot hold sessions SOMETIMES. It is the craziest thing and we are able to replicate the same intermittant problem by constantly changing the application name and clearing cookies in IE ... sometimes, the cookies will not stick. Once we get the problem going, then cookies will not stick for IE until we change the application name in the cfapplication to some arbitrary new name, and then magically the cookies begin to stick again.
There is no conflict of another cfapplication tag, there is no change in the IE security settings, etc.
Please someone at least let me know we're not insane and that others have reported this same problem? Any solution/work-around out there other than begging our users to all switch to Firefox?
