If you are ticketed as a connection - you will need to ask to short-check the bag in some circumstances. Also - you may also - if it works for you - ask to be through-checked all the way if you don't need your bags. Some airports are setup for overnight bag connections (i.e Zurich - my home airport).