add session var to handle hot code reload loosing version

Add session variable to handle hot code reload loosing the query string.