Register a shutdown function to close the session instead of closing it in the tep_redirect() function
merging sessions files