replace tep_session_id() and tep_session_name() calls to native equivalents