<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi,<br>
        <br>
        Take a look at:<br>
           
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Tutorials-KeyValueInterface">http://www.opensips.org/Documentation/Tutorials-KeyValueInterface</a><br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 17.09.2014 23:22, Satish Patel wrote:<br>
    </div>
    <blockquote
cite="mid:CAPgF-fqCHN2n8kck1N0DdAiVqG7bV6ZAeV6eCxMxTxdq8MFRHQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>I am doing following operation in opensips script and i
          want this information in memcached because every single call
          hitting MySQL for this information <br>
          <br>
          avp_db_query("SELECT username FROM registrant WHERE
          (registrar='$var(x)')","$avp(user)");<br>
                          avp_db_query("SELECT password FROM registrant
          WHERE username='$avp(user)'","$avp(pass)");<br>
                          avp_db_query("SELECT realm FROM registrant
          WHERE username='$avp(user)'","$avp(realm)");<br>
          <br>
          <br>
        </div>
        I know you can use cache_store() function to store in cache but
        i don't know what would be the syntax, it is possible or not?<br>
        <br>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>