Use the StructKeyList function to get a list of session variables, as follows:
<cflock timeout=20 scope="Session" type="Readonly"> <cfoutput> #StructKeyList(Session)# </cfoutput> </cflock>