Copy link to clipboard
Copied
I've seen this issue reported numerous times, but have not seen any solution or explanation. When using jsessionid, if a user closes his/her browser rather than using a link to <cflogout>, parts of the <cflogin> structure remain until session timeout. So if a user returns to the site, code within the <cflogin> tags will get skipped. Is this a bug, or has anyone figured out how to get around it?
Copy link to clipboard
Copied
That is actually the expected behaviour. To get Coldfusion to do it as you want, you have to manually set the cookies, as in Gary Gilbert's article on session cookies.