I haven't seen the exit function used in some of the books I was reading. I put it around the location header and it stopped the script and redirected.
Should it always be used on location redirects??
as a safety yes.