What is the web site? I'll have to debug it live to determine what the issue is. How do you know it isn't clearing? What session variable is still set and how do you know? It is only set up to delete a few session variables, not the entire session. Maybe you want to change the line to:
$clearAll = TRUE;