The page could be declared as a partial view and brought in via Ajax in which case the Parent page might not be refreshed, but each ajax request for the partial view would cause the JavaScript variables of that view to be reinitialized. Barring this scenario, your original statement about JavaScript variables and their lifetime would be correct.