Hi Experts
I have developped a custom login module to authenticate in portal fron external application.
This external application is developped in ASP, and i need to pass some information from this page to my login module.
According to the SAP Document [http://help.sap.com/saphelp_nw70/helpdata/en/46/3ce9402f3f8031e10000000a1550b0/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/46/3ce9402f3f8031e10000000a1550b0/content.htm] i create and configure my login module and test. All is OK. But when i try to get the parameters comming from ASP page, i always get null value.
This is my code to get parameter:
HttpGetterCallback hgc = new HttpGetterCallback(); hgc3.setName("ASPPARAM"); hgc3.setType(HttpGetterCallback.REQUEST_PARAMETER); try { this._callback_handler.handle(new Callback[] { hgc }); } catch (Exception e) { onthewayexc = e; } String[] aspParam = ((String[]) hgc.getValue()); LOCATION.debugT("login", "req param[] has value " + aspParam[0]);
The attribute aspParam always is null
I saw the http header of this request and i get the follow value:
POST /irj HTTP/1.1 ASPUSERID2 Referer: http://192.168.14.15:50001/post1.asp Accept-Language: en-US,pt-BR;q=0.5 Content-Type: application/x-www-form-urlencoded UA-CPU: x86 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729) Host: 164.164.164.159:50000 Content-Length: 275 Connection: Keep-Alive Cache-Control: no-cache Cookie: ASPSESSIONIDQACQBSQS=GAGFHFBANKGOLBELONFABKII; ASPSESSIONIDCASDDDBA=OBKLPLEAOIEHDAONPDJDJKDI ASPPARAM=001251228695263&ASPBINARYCODE=001010010000101000100100
As you can see, the parameter ASPARAM is in Request.
Could someone help how to solve this?
Thanks and regards
Marcos Brandao