This might be a silly question but I'd like to know what exactly is the difference between structClear(session) and the sessionInvalidate() function added in ColdFusion 10?
According to Mister Dai, who has backported the SessionInvalidate function to previous versions, it performs more than just calling StructClear, and also calls onSessionEnd before this, and coldfusion.runtime.sessionTracker.cleanup afterwards.
Further details at: https://misterdai.yougeezer.co.uk/blog/project/2012-03-12/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With