Warn on incorrect flashing usage

If the status is not 3xx and the application is in dev mode, then log a warning to let the developer know that cookie based flash is not going to produce a result.