Kbmmw. Time out message "Anonymous user not authorized"
<p>I made a new topic about my issue.</p>

<p>KIM told\</p>

<blockquote>
  <p>Anonymous requests typically means that it does not find a
  username/password not a token in the clients request. Remember the
  Token you get on your first request should be reused for all
  subsequent requests by all client code (all kbmMWSimpleClient,
  kbmMWClientQuery, kbmMWClientResolver etc). On way to centralize that
  is to put a TkbmMWSimpleClient on the datamodule and specify all the
  client query components to use this simple client instance as a
  template. Then as the first thing before anything else in your client
  application, make an initial "login" request call via the
  simpleclient.</p>
</blockquote>

<p>I changed ServerSideQueryAllClick on the client app. I copied Token from server side to client Edit1.text. </p>

<pre><code>procedure TForm1.btnNamedServerSideQueryAllClick(Sender: TObject);
begin
     // Gets all records from server event table.
     If Length(Trim(Edit1.Text)) &gt; 0 then
        Begin
          kbmMWSimpleClient1.Disconnect;

          kbmMWSimpleClient1.Username:= CB1.Text; // Login -&gt; Franz
          kbmMWSimpleClient1.Password:= CB2.Text; // Password -&gt; FranzPassword

          kbmMWSimpleClient1.Token := Edit1.Text; // Token from server
          kbmMWSimpleClient1.Connect;

        End;

     if qServerSide.Active then qServerSide.Close;

     // Use named query.
     qServerSide.Query.Text:='@ALL_EVENTS';
     qServerSide.Open;
end;
</code></pre>

<p>It  dowsn't work. </p>

<p>How to make relogin? </p>