No subject


Sun Jun 3 11:56:24 CEST 2007


login_id=test1&login_pwd=password1


This is correct and the same with my original code:
<request subst="true"><http
url='/dologin.php?random=%%ts_user_server:get_unique_id%%' version='1.1'
contents='login_id=test1&amp;login_pwd=password1&amp;skin=lightblue'
content_type='application/x-www-form-urlencoded'
method='POST'></http></request>

Instead of using "login_id=" ++ Username ++"&amp;login_pwd=" ++ Passwd. as
in manual.
I changed to "login_id=" ++ Username ++"&login_pwd=" ++ Passwd.

And that solved the problem. I dont know if that really the answers and I
dont quite understand myself.
We only changed two things and it works. ^__^;

------=_Part_6748_16518134.1201534112639
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Finally got it to work.<br><br>We made two changes. There were:<br><br>1) Erl Script from <br>user(Pid) to user({Pid,DynData})<br><br>2) Change Erl Script from<br>&quot;login_id=&quot; ++ Username ++&quot;&amp;amp;login_pwd=&quot; ++ Passwd.<br>
to<br>&quot;login_id=&quot; ++ Username ++&quot;&amp;login_pwd=&quot; ++ Passwd.<br><br><br>I dont think the first point is the problem. If it is then the manual should be corrected as well.<br><br><br>What we did was, displaying the value retrieved from the file.<br>
<br>&lt;request subst=&quot;true&quot;&gt;&lt;http<br>url=&#39;/dologin.php?random=%%ts_user_server:get_unique_id%%&amp;amp;log=%%readcsv:user%%&#39; version=&#39;1.1&#39;<br>contents=&#39;%%readcsv:user%%&amp;amp;skin=lightblue&#39;<br>
content_type=&#39;application/x-www-form-urlencoded&#39;<br>method=&#39;POST&#39;&gt;&lt;/http&gt;&lt;/request&gt;<br><br><br>From the log (Our own Server&#39;s log):<br>login_id=test1&amp;amp;login_pwd=password1<br><br><br>
This is correct and the same with my original code:<br>&lt;request subst=&quot;true&quot;&gt;&lt;http<br>url=&#39;/dologin.php?random=%%ts_user_server:get_unique_id%%&#39; version=&#39;1.1&#39;<br>contents=&#39;login_id=test1&amp;amp;login_pwd=password1&amp;amp;skin=lightblue&#39;<br>
content_type=&#39;application/x-www-form-urlencoded&#39;<br>method=&#39;POST&#39;&gt;&lt;/http&gt;&lt;/request&gt;<br><br>Instead of using &quot;login_id=&quot; ++ Username ++&quot;&amp;amp;login_pwd=&quot; ++ Passwd. as in manual.<br>
I changed to &quot;login_id=&quot; ++ Username ++&quot;&amp;login_pwd=&quot; ++ Passwd.<br><br>And that solved the problem. I dont know if that really the answers and I dont quite understand myself.<br>We only changed two things and it works. ^__^;<br>
<br><br><br>

------=_Part_6748_16518134.1201534112639--


More information about the Tsung-users mailing list