Additionally, at many airports long hauls arrive in one terminal and regional flights depart from another (and vice versa) so it's likely you'll have to switch terminals between flights, and that means you may have to go back through security if the two terminals are not connected post-security.