<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:\65B0\7D30\660E\9AD4;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@\65B0\7D30\660E\9AD4";
panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"\7D14\6587\5B57 \5B57\5143";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.a
{mso-style-name:"\7D14\6587\5B57 \5B57\5143";
mso-style-priority:99;
mso-style-link:\7D14\6587\5B57;
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-TW link=blue vlink=purple style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoPlainText><span lang=EN-US>Hi all,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Really appreciate all your kind supports and helps very much. <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Alan..I didn't meant to be inaccurate about describing my situation...I just don't want to blur my question with too many details.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Well, I think I didn</span><span lang=EN-US style='font-family:"Courier New"'>’</span><span lang=EN-US>t keep the balance well. If let you feel bad, I'm very sorry about that.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Then you mentioned keeping information in the gateway...in fact, it's a long story..<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Anyway, I agree the most part of your point. However, in some kind of situation, I almost can't avoid that. Like this time, due to lacking of supporting on another mandatory attribute(Chargeable-User-Identity) that external AAA needs in our wi-fi gateway, we decide to make this workaround without database.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>The less database transaction, the better solution it would be. This is the principle we follow on the implementation of RADIUS Proxy server. <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Our proxy server is like a guard who should check and make many policy or criteria before requests are proxied out. So we do our most effort to prevent us from relying on database.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>And Thank to Olivier! I've been desired to try 3.0.0 for a long time, while there isn</span><span lang=EN-US style='font-family:"Courier New"'>’</span><span lang=EN-US>t a good chance for. <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>I've found some new and helpful features in 3.0.0 about Unlang, but never experience them yet. The functions you mention are really helpful. <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Maybe I should start to plan migrating to 3.0.0. <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>And also thanks for SerpentoR, but unfortunately I can't know which index of Class array is what I want, and even cannot sure about how many items in Class array.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>So such like "foreach" could be my need for solving this problem.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Thanks for all respondents again!<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Sincerely,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Okis.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>