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&login_pwd=password1&skin=lightblue'
content_type='application/x-www-form-urlencoded'
method='POST'></http></request>
Instead of using "login_id=" ++ Username ++"&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>"login_id=" ++ Username ++"&amp;login_pwd=" ++ Passwd.<br>
to<br>"login_id=" ++ Username ++"&login_pwd=" ++ 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><request subst="true"><http<br>url='/dologin.php?random=%%ts_user_server:get_unique_id%%&amp;log=%%readcsv:user%%' version='1.1'<br>contents='%%readcsv:user%%&amp;skin=lightblue'<br>
content_type='application/x-www-form-urlencoded'<br>method='POST'></http></request><br><br><br>From the log (Our own Server's log):<br>login_id=test1&amp;login_pwd=password1<br><br><br>
This is correct and the same with my original code:<br><request subst="true"><http<br>url='/dologin.php?random=%%ts_user_server:get_unique_id%%' version='1.1'<br>contents='login_id=test1&amp;login_pwd=password1&amp;skin=lightblue'<br>
content_type='application/x-www-form-urlencoded'<br>method='POST'></http></request><br><br>Instead of using "login_id=" ++ Username ++"&amp;login_pwd=" ++ Passwd. as in manual.<br>
I changed to "login_id=" ++ Username ++"&login_pwd=" ++ 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