Add session_start() to resume session in publish script.