| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 1332 online users. » 7 Member(s) | 1321 Guest(s) Applebot, Bing, Google, Internet Archive, 23win9co, 8gamebaidoithuong, cakhiatvvntv, hutvietphatym, Nhacaiuytinseucom, win79ccocom, xn88fanvn
|
| Latest Threads |
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
10-02-2026, 04:14 PM
» Replies: 1
» Views: 445
|
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-01-2026, 09:21 PM
» Replies: 4
» Views: 191
|
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 83
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 505
|
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 581
|
How can I get started? Do...
Forum: CrossTalk General Discussion
Last Post: taggame
09-17-2026, 03:17 AM
» Replies: 2
» Views: 4,325
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 400
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 780
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 457
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 999
|
|
|
| AddStartHandler - how to bypass to an IWForm without creating a Session |
|
Posted by: medzoom - 06-08-2024, 07:30 AM - Forum: IntraWeb General Discussion
- No Replies
|
 |
I use the code from >Alexandre MAchado> Embrace the backbutton for my program with special Login-funtion, so everyone must take the login-credentials - even if he uses the back/Forwardbutton or just types in the hole URL.
But I want to make one IWForm accessable to everyone - so bypassed by the AddStartHandler?
Quote:The first one THandlers.AddStartHandler(), creates a new content handler for this form and sets it as the application’s Start handler, i.e. every new request that doesn’t have an associated session will be redirected to this handler. In practice, it means that every new request that creates a new session will be redirected to the MainForm, regardless of the URL. This feature is ideal to be used in applications that require a login, for instance.
How do I make an expecption to the function of "AddStartHandler"?
Code: // this doesnt work???
THandlers.Add('weather_info2', TContentForm.Create(TIWForm5));
Here is the code in the main-client-form.
Code: initialization
TIWForm1.SetAsMainForm;
// SetURL creates a content handler for this form and set's the URL for it according to the parameters
// In this case, I want the URL to be http://<domain>/MainForm:
TIWForm1.SetURL('', 'MainForm');
// I'm also creating 2 content handlers that I want to redirect to this same form:
// The StartHandler (i.e. it will catch all requests that create a new session
THandlers.AddStartHandler('', 'MainForm', TContentForm.Create(TIWForm1));
// And the root handler which will catch requests to the root address of your app
THandlers.AddRootHandler('', 'MainForm', TContentForm.Create(TIWForm1));
// this doesnt work???
THandlers.Add('weather_info2', TContentForm.Create(TIWForm5));
end.
|
|
|
| iwSelect and ItemsHaveValues Error |
|
Posted by: joelcc - 06-07-2024, 03:38 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
When I try and setup an iwSelect using soServerSide with ItemsHaveValues, when populating the list I get the following error
"The results could not be loaded"
Can you please fix/enhance this?
This is with iw 15.4.0
|
|
|
Indy IdHTTPWebBrokerBridge/TIdCustomHTTPServer threads keep on increasing |
|
Posted by: chris.j - 06-06-2024, 07:24 PM - Forum: Indy
- No Replies
|
 |
I have a customized IdHTTPWebBrokerBridge class which descends from TIdCustomHTTPServer and overrides the DoCommandGet method. Below is the basic code
Code: procedure TIdHTTPWebBrokerBridge.DoCommandGet(AThread: TIdContext;
ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
var
LRequest: TIdHTTPAppRequest;
LResponse: TIdHTTPAppResponse;
begin
LRequest := TIdHTTPAppRequest.Create(AThread, ARequestInfo, AResponseInfo);
try
LResponse := TIdHTTPAppResponse.Create(AThread, LRequest, ARequestInfo, AResponseInfo);
try
// WebBroker will free it and we cannot change this behaviour
AResponseInfo.FreeContentStream := False;
try
if TWebDispatcherAccess(FWebModule).DispatchAction(LRequest, LResponse) then
begin
if not LResponse.Sent then
begin
LResponse.SendResponse;
end;
end;
finally FreeAndNil(LResponse); end;
finally FreeAndNil(LRequest); end;
end;
I noticed that the thread count of the process keeps slowly increasing and even reached around above 1500 threads in a few days. It keeps on increasing until I am getting an "Access violation at address 00401ED5 in module 'xxx.exe'. Read of address 80030000" error. I am not sure why it keeps increasing over time. What might cause the threads to stay and not get released? I did set KeepAlive to true to save on the SSL handshake costs.
I have tried logging all requests and responses and do not see any error that might cause this. I also did not find any long running processes that are stuck in an infinite loop. The thread count does not justify the activity going on. Even when there is no more activity, the thread count does not decrease. I'm already using the latest Indy v10.6.3.3 and OpenSSL v1.0.2u DLL files.
|
|
|
| Simultaneous OnAsyncChange and OnAsyncClick on Touch Device |
|
Posted by: RenSword - 06-06-2024, 10:06 AM - Forum: IntraWeb General Discussion
- No Replies
|
 |
I need to bind OnAsyncChange on TIWDBEdit to trigger to field change to calculate some field then reflect changes to user, and I use a TIWButton.OnAsyncClick to Post the DataSet changes.
To use the sample project attached.
Sample.zip (Size: 8.04 KB / Downloads: 0)
1) Click Edit.
2) When in edit state, focus on the TIWDBEdit and try to change the code
3) Do not click other place so TIWDBEdit does not lose focus and trigger OnAsyncChange.
4) Click on Post button directly. (this will trigger TIWDBEdit.OnAsyncChange then TIWButton.OnAsyncClick)
I notice a different behavior between Mouse Click Device (Desktop) and Touch Device (Phone). When I use browser inspect tool, I can see the timing like this.
First Img: Mouse Click Device.png
First callback is OnAsyncChange and second callback is OnAsyncClick, it can be seen that they are far away and do not overlap
Second Img: Touch Device.png
It can be seen that OnAsyncChange overlapped with OnAsyncClick callback.
There are rare cases that will happen sometimes, like this image, OnAsyncClick finished faster than OnAsyncChange. This cause
Code: procedure TIWForm1.btnPostAsyncClick(Sender: TObject; EventParams: TStringList);
to be runned first and EventParams does not contain EDCODE=NewValue, so its posted without change in value
based on IWBase.js, when typing on edCode, it is added to window.ChangedControls, but bcz SendPostRequest of OnAsyncChange cleared the window.ChangedControls, SendPostRequest of OnAsyncClick cannot see edCode as changed and cannot pass the changed value to server
=========================================================================
if u uncomment the Exception in field change, you can see when you redo the above step
For Mouse click device, due to its no overlapping behavior, when OnFieldChange raise the Exception, OnAsyncClick callback is not run at all (the value on the field is reverted and posting is not done, this is the more correct behavior)
For Touch device, when OnFieldChange raise the Exception, OnAsyncClick callback is still runned (the value on the field is reverted and posted directly).
==============================================================================
This is probably not a bug, but rather a issue due to touch and click difference, any idea to solve this?
|
|
|
| TIWChartJS memory leak |
|
Posted by: ioan - 06-05-2024, 05:11 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
In the ChartJS demo, I enabled the memory leak report (ReportMemoryLeaksOnShutdown := true) and when closing the application the following memory leak is reported:
Code: ---------------------------
Unexpected Memory Leak
---------------------------
An unexpected memory leak has occurred. The unexpected small block leaks are:
29 - 36 bytes: TIWBorderOptions x 3
EDIT:
It looks like in the unit IWCanvas, at line 259 TIWBorderOptions is created and never freed. If I add FBorderOptions.Free; in TIWCustomCanvas.Dispose, the leak disappears.
|
|
|
| Relative path to wwwroot for C++ Builder |
|
Posted by: valmeras - 06-05-2024, 03:24 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
I am using C++ Builder 10.2.3 with Intraweb 15.6.1
I am trying to access a subfolder (myfolder) I created in wwwroot following this reference article:
https://docs.atozed.com/docs.dll/develop...20XIV.html
This for sure does not work as a relative path in C++ builder: "\\myfolder\\myfile.xml"
It is referring to C:\myfoler\myfile.xml
This one is close: "myfolder\\myfile.xml". But is referring to the application path were the .exe is running!
So, in C++ Builder, how can I use a relative path to access a file or subfolder located in wwwroot?
|
|
|
| Install different version of IW |
|
Posted by: zsleo - 06-03-2024, 11:54 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
First let me say that I think CG Dev Tools is DEAD and their source code version, in it present form, requires the licencing DCUs to be compiled with nthe latest Delphi Version and I am unable (for six month) to get CG Dev Tools to respond.
So I want to convert some of my apps to IW/Bootstrap.
I have both Delphi 11.3 and Delphi 12.1 installed on my computer.
QUESTION:
How do I keep my IW 15.4.1 installed on my Delphi 11.3 - for CG Dev Tools maintenance
AND
Install IW 15.6.2 installed on my Delphi 12.1 - for Bootstrap development
TIA
|
|
|
| Cannot run any IW app after update to 15.6.1 |
|
Posted by: PDSBILL - 06-01-2024, 03:42 AM - Forum: IntraWeb General Discussion
- Replies (6)
|
 |
Installed ver 15.6.1 in Delphi 11 update 1. No issues installing and latest License expires 2025
Upgraded from 15.2
When I try and compile a simple iw standalone app with just a blank form i get the following error
[dcc64 Fatal Error] IwtestPC.dpr(12): F2084 Internal Error: URW8036
error appears in uses IWappForm
Any suggestions.
|
|
|
| Priority support |
|
Posted by: Comograma - 05-29-2024, 09:25 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
How can I have support? How can I have priority support? I have Intraweb Ultimate and I thought that I had a better support on this.
I have several questions on this forum, but I get no answer.
I'm missing something? That's one of the reasons I'd upgrade to Utimate version.
It would be better to everyone and for this tremendous components, that someone within Atozed had a little more attention to this forums and the ones that here to try to do the best for their applications, regarding Intraweb components.
Thanks
|
|
|
|