| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 120
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 117
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 128
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 415
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 212
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 583
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 202
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,157
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 333
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 940
|
|
|
| TIWIndyHTTPClient.CustomHeaders value not included in request (v15.4.x) |
|
Posted by: brsoft - 11-10-2023, 09:13 AM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hi!
IWIndyHTTPClient does not insert the CustomHeaders value into the request as of Intraweb 15.4.x.
(This worked fine in version 15.3.12.)
Example: the 'Signature' parameter was not included in the sent request (v.15.4.2):
xHTTP := TIWIndyHTTPClient.Create;
xHTTP.CustomHeaders.Add( 'Signature:abcdef123456' );
xHTTP.Post( address, req, contenttype);
But it works fine with this code:
xHTTP:=TidHTTP.Create(nil);
xHTTP.Request.ContentType:=contenttype;
xHTTP.Request.CustomHeaders.Add( 'Signature:abcdef123456' );
response:=iHTTP.Post( address, req );
Will there be a fix for TIWIndyHTTPClient?
Best regards:
Robert
|
|
|
| Event OnClose for IW |
|
Posted by: matija - 11-06-2023, 12:36 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
I am looking for a solution like VCL Forms event OnClose for IWForm?
When i leave the IWform (change URL link) i want clear something objects I release my memory in browser.
I use THandlers where define URL link
|
|
|
| IWSelect - What is the trick |
|
Posted by: Lorbass - 10-31-2023, 10:16 AM - Forum: IntraWeb General Discussion
- Replies (7)
|
 |
Hi @all,
An IWSelect with SelectOption soServerSide works fine.
But how to set an initial/default item?
I tried with IWSelect.ItemIndex := IWSelect.Items.Add(AText) but without success.
Anyone has an solution for this?!
Thanks for hints in advance!
|
|
|
| TidIcmpClient.Ping emulation |
|
Posted by: Boba TC - 10-30-2023, 03:23 AM - Forum: Indy
- Replies (5)
|
 |
Seasonal greetings to y'all;
When I go to DOS prompt (a.k.a. Command Prompt) and run ping like this
Code: C:\Users\Boba> ping -4 10.76.201.171
the reply comes back OK:
Code: Pinging 10.76.201.171 with 32 bytes of data
Reply from 10.76.201.171: bytes=32 time=137 TTL=105
...
Ping statistics for 10.76.201.171:
...
but with Indy.10's TidIcmpClient:
Code: TidIcmpClient *pIcmpClient;
...
pIcmpClient->Host = "10.76.201.171";
pIcmpClient->RecieveTimeout = 4000;
pIcmpClient->Ping();
About 4 seconds later I get 0[zero] (TReplyStatusTypes::rsTimeOut).
What do I miss to mimic the DOS ping behaviour? TIA
|
|
|
| Maximum Concurrent Connections in ISAPI |
|
Posted by: ebob42 - 10-27-2023, 01:46 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Delphi says TWebRequestHandler.MaxConnection is 32, which means 32 requests can be handled concurrently (of course, more client sessions can exist, but only 32 of them can be concurrently active and being processed).
Does this also account for IntraWeb? The maxmum number of sessions is very high (thousands, at least), but can we "only" have 32 concurrent active sessions being processed in ISAPI DLLs?
|
|
|
| Error 'Operation not allowed on sorted list' passing start params to ISAPI dll |
|
Posted by: mondoedp - 10-26-2023, 02:07 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Hello,
I'm facing a problem that appeared using 15.3.12 version and higher (I've just tried 15.4.1).
In 15.2.63 that we use in production it works good.
Also, the problem is only on ISAPI module, compiling SA executable it's ok.
In our IWForm we call the application itself to start a new session passing some parmeter that we use to automatically log in, but the content it's not important.
procedure TWMyForm.MyButtonAsyncClick(Sender: TObject; EventParams: TStringList);
...
begin
S:='var formIris = document.forms["SubmitForm"]; ' +
'formIris.setAttribute("action","' + GGetWebApplicationThreadVar.InternalUrlBase + '/start' + '"); ' +
'document.getElementById("HIDDEN_xusr").value = "user"; ' +
'document.getElementById("HIDDEN_profilo").value = "profile"; ' +
'formIris.elements["IW_SessionID_"].value="";' +
'formIris.elements["IW_TrackID_"].value="";' +
'SubmitClick("' + btnConferma.HTMLName + '", "", true); ';
GGetWebApplicationThreadVar.CallBackResponse.AddJavaScriptToExecuteAsCDATA(S);
//After several operation, a new session is going to start; the call stack show me this call:
TIWServerSession.GetStartParams (no source available, I wasn't able to debug)
//soon after in IWApplication:
class procedure TIWParamsString.EncodeParams(const AParamsList: TStrings);
var
i: Integer;
begin
for i := 0 to AParamsList.Count - 1 do begin
AParamsList[i] := TURL.ParamsEncode(AParamsList[i]);
end;
end;
we have:
- AParamsList.Text = 'azienda=AZIN'#$D#$A'BTNANNULLA='#$D#$A'BTNCHIUDI_WC012FVISUALIZZAFILEFM='#$D#$A'BTNCONFERMA='#$D#$A'BTNSENDFILE='#$D#$A'CMBPROFILONUOVO=0'#$D#$A'database=IRIS'#$D#$A'EDTAJAXFORMID=W020FCambioProfilo31591375'#$D#$A'EDTPROFILOATTUALE=D'#$D#$A'GRDMEMOAJAX='#$D#$A'IW_Action=BTNCONFERMA'#$D#$A'IW_ActionParam='#$D#$A'IW_FormClass=TW020FCambioProfilo'#$D#$A'IW_FormName=W020FCambioProfilo'#$D#$A'IW_height='#$D#$A'IW_Location_=http://localhost/Iris32/W000PIrisWEB_IIS.dll/nnIGyEVlGfm5HVTjRMrNnWpaoVS/'#$D#$A'IW_Offset=0,0'#$D#$A'IW_SessionID_='#$D#$A'IW_TrackID_='#$D#$A'IW_width='#$D#$A'IW_WindowID_=wid=FRG~vjMCuGjy6z5eTYWBoef9ggm'#$D#$A'loginesterno=S'#$D#$A'profilo=R'#$D#$A'pwd='#$D#$A'usr='#$D#$A'WR010SCROLLLEFT=0'#$D#$A'WR010SCROLLTOP=0'#$D#$A'xusr=AV2y3wiTbaBdaQK+Qa6qkecYXHC8i2nqKP46P5svn4w= '
- AParamsList.Sorted = True //This is the problem in ISAPI!! In SA Sorted = False
then, the line "AParamsList[i] := TURL.ParamsEncode(AParamsList[i]);" make a call to TStringList.put in System.Classes
procedure TStringList.Put(Index: Integer; const S: string);
begin
if Sorted then Error(@SSortedListError, 0);
--> error page:
Application Error
An unhandled application error has occured within IrisWEB
Error message: Operation not allowed on sorted list
Could you please verify why this different behavior?
Thank you
|
|
|
| invalid cache dir |
|
Posted by: joergb - 10-26-2023, 11:55 AM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
hallo
I will run my first little app standalone on a new PC
but the app won't start, in the LOG is an exception "invalid cache directory d:\temp"
On the new PC , d:\temp doesn't exist, its the Temp-Dir on the Developer PC.
If I create d:\temp on the new PC , the app started normaly
But I can't find the place, where it can be changed.
Thanks
Jörg
|
|
|
|