<div>Hi,<br clear="all"></div><div><br></div><div>I am in the process to write a authentication module after user input user name and password from a login page.  The authentication need to query a back-end server.</div><div>
<br></div><div>As there maybe a lot of queries, a connection is pre-made to save the connection time, result returned from server is out of order, eg. Request A, B, C coming in, the result of authentication coming back maybe Cr, Ar, Br.</div>
<br><div>I face some designed decision and problems:<br></div><div>Should I model after the upstream module for the authentication module?</div><div>What&#39;s the best way to handle returned result and dispatched to the corresponding request?</div>
<div>Is there an existing module to model after?</div><div><br></div><div>Thanks</div><div>--<br></div>Qun-Ying<br><br>