Most ranges won’t have a problem with you bringing a loaded magazine, just as long as it’s kept separate from the respective firearms. If you plan to bring along spare magazines for your rifle or pistol, make sure that you load them prior to leaving so you can focus on spending the majority of your time at the range shooting, not loading.