Skip to main content
Participant
May 27, 2009
Question

CFLOGIN STRUCT PERSISTS WHEN CLOSING BROWSER

  • May 27, 2009
  • 1 reply
  • 482 views

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?

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
May 30, 2009

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.