<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    I have a question concerning the id-concept of
    StatefullKnowledgeSessions:<br>
    int sessionId = ksession.getId();<br>
    <br>
    While looking up the KnowledgeStoreService-Interface I was a little
    bit confused about the loadStatefulKnowledgeSession(...) Method:<br>
    <code><b><a>loadStatefulKnowledgeSession</a></b>(int id, <a
        title="interface in org.drools">KnowledgeBase</a> kbase, <a
        title="interface in org.drools.runtime">KnowledgeSessionConfiguration</a> configuration,

      <a title="interface in org.drools.runtime">Environment</a> environment)</code>
    <br>
    <br>
    I think the first parameter is the session id (see above). But why
    does he needs the kbase, config and environment too? Is the session
    id not global? Is she bound to one or more of the Classes/Instances
    (<code>kbase</code>,<code>configuration,</code><code>environment)</code>?<br>
    <code></code><br>
    <code>If the id</code> is bound, it will implicitly mean that there
    can be more than one ksessions with the same id?<br>
    <br>
    Kind regards,<br>
    <br>
    O.S.<br>
    <code></code><br>
    <br>
    <br>
  </body>
</html>