HI Friends
I'm stucked with a strange problem with HttpForm. I have the below code for making a GET request o server. But nothing is getting going to server after "?" from the URL.
I surprise that even though the URL's stem, leaf, query are ONE string, how come only stem+leaf+? are going to server and dropping the query ??????????
//Thank you in adv
I'm stucked with a strange problem with HttpForm. I have the below code for making a GET request o server. But nothing is getting going to server after "?" from the URL.
{let sid:String = "xxxxxxxxxxxxxxxxxxxx"} || Getting and storing here session id
{let cb:CommandButton =
{CommandButton
label = "Logout",
let svrReplyStream:#HttpTextInputStream
{on Action do
{try
set svrReplyStream = {cmdLogout.form.submit-open}
||XXXXXXXXXXX Do other stuffs
{svrReplyStream.close}
catch e:Exception do
{popup-message e.message}
}
}
}
}
{let frmLogout:HttpForm =
{HttpForm
{url "http://www.xyz.com/logout.php?sessionid=" & sid}, || Here after the ? symbol nothing is going to server as I checked with Ethereal packet scanning
target="_self",
method=HttpRequestMethod.get,
cb || Above Command Button
}
}
{value frmLogout}
I surprise that even though the URL's stem, leaf, query are ONE string, how come only stem+leaf+? are going to server and dropping the query ??????????
//Thank you in adv