Logout User

Logging out a user can normally be a simple matter of <cfset StructClear(session) /> but sometime you might want to do more. So what not invoke the onSessionEnd() method in the Application.cfc and clear the session plus whatever else you want to do.

Dave Shuck sums it up neatly.

 

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Comments are not allowed for this entry.
BlogCFC was created by Raymond Camden. This blog is running version 5.9.001. Contact Blog Owner