[ticket/13048] Only update session_page if request is not ajax

PHPBB3-13048