List All Application, Client, and Session Variables

ColdFusion allows you to list all available variables within the APPLICATION, CLIENT, and SESSION scopes (the latter two relative to the currently logged in user). But the way you access these lists is not consistent across all three scopes. APPLICATION and SESSION are structures, so you can use standard structure functions to access them (as well as ). CLIENT variables are returned via the GetClientList() function (and that list can be accessed via the list functions and ). (Applies to: ColdFusion 4 (or later))

Leave a Reply