- Modified patch #7958 by Adrian: store status messages in a session so they can persist when redirection is used.