| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 818 online users. » 8 Member(s) | 806 Guest(s) Applebot, Bing, Facebook, Google, 18homes, 888toptwvn, asonjones, charliehampton, forum98winsh, phcashorgphil, sunwin8info1, Sunwinttapp
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 332
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 257
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 287
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 606
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 334
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 772
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 308
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,442
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 451
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,153
|
|
|
| Indy HTTP Server in linux daemon shutdown problem |
|
Posted by: ZGabrovski@gmail.com - 06-13-2021, 08:13 PM - Forum: Indy
- Replies (3)
|
 |
I have a small linux/windows daemon written under Lazarus/FPC.
There is some TThread descendant class, which is created at daemon startup event.
The class create Indy HTTP Server in it constructor. The HTTP Server works fine both as linux daemon/windows service.
There is code that set HTTPServer.Active := False and FreeAndNil Httpserver on thread termination.
Under Windows everything working perfect.
But under linux HTTPServer.Active:=false causes HTTPServer to hang up.
Even when I start a daemon with -r and try to press Ctrl+C it will not terminate. Some times after that I received Äccess violation" or "Segmentation fault".
Any ideas? I think it is some-how related with synchronization (TThread.Synchroinize does not work under ??) Can somebody help?
|
|
|
| IWEdit OnAsyncKeyPress and OnAsyncKeyUp/Down |
|
Posted by: PaulWeem - 06-10-2021, 08:30 AM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Hi,
In IWEdit OnAsyncKeyPress, the value in "EventParams.Values['which']" differs from the value in OnAsyncKeyUp/Down.
It looks like another or extended characterset is being used.
My problem is, that in OnAsyncKeyPress keys like <Backspace> or <Delete> do not trigger this event.
Is this by design, or is this a glitch?
Kind regards,
Paul
|
|
|
| ISAPI dll hangs when Terminate AFTER QExport4XLS.Execute |
|
Posted by: alex.trejo@tttnet.com.mx - 06-02-2021, 11:56 PM - Forum: IntraWeb General Discussion
- Replies (11)
|
 |
Delphi 10.2.3
IW 14.2.6
After migrating from IW10, our ISAPI dll is hanging after user exports a report to XLS (via EMS Advanced Data Export 4.16.0.2) and then terminates the session or TimeOut happen. Both events trigger a TerminateAndRedirect. No new users can log into the application and this problem is only resolved doing a recycle in IIS. We have tried everything possible and find no reason of this behaviour. This app had been working fine for years. The problem does not appear if running as exe, only as dll with IIS. We even tried going all the way to IW 15.2.20, same thing happens. Any help would be greatly appreciated.
UPDATE. We also use Templates in this app. Since the form that produces this report allows download of xls (via SendFile) Form LockOnSubmit is set to False.
Yesterday in one of our trial & error tests, we took the template of that form out and the error seemed to go away, but NO, it continues 
UPDATE 2. We moved the QExport component from the UserSessionUnit where it originally was to the unit where the user generates the export. When the user exits that form after generating the XLS export the session of the user hangs, but the other logged in users can continue to work. When leaving the form there is a Form.Release, and there the session hangs. It seems that QExport component leaves something open that Intraweb cannot dispose of.
UPDATE 3. EMS, the makers of the component, say that it is not a problem of component, but something that IW is not able to handle. We are out of options.
Can you help us understand the problem and -most important - how to find the culprit and solve it?
Best regards.
|
|
|
|