Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 96,731
» Latest member: deepakjanardanan
» Forum threads: 2,426
» Forum posts: 11,370

Full Statistics

Online Users
There are currently 850 online users.
» 8 Member(s) | 838 Guest(s)
Applebot, Bing, Google, Yandex, 123betsenet1, deepakjanardanan, dinastinawakarya, febet68win, Febettvip, nohujilinet, ranchicallgirl, tr88services1

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
3 hours ago
» Replies: 0
» Views: 19
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
Yesterday, 09:03 AM
» Replies: 0
» Views: 27
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 01:48 AM
» Replies: 0
» Views: 43
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 306
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 150
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 488
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 145
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 1,998
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 271
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 825

 
  Session Manager in 15.2.69 stops working sometimes
Posted by: ebob42 - 10-25-2023, 02:53 PM - Forum: IntraWeb General Discussion - Replies (15)

We have an IntraWeb ISAPI application that runs during the day, with an average of 300 concurrent IW sessions. CPU usage is between 10 and 30% all the time.

We use Delphi 11.3 with IntraWeb 15.2.69 (we also use 15.4.2, but not yet for production work).

However, sometimes, the session manager seems to "die" when terminating a session. We get an Access Violation, and as of that moment, new sessions will be created, but old ones (and new ones) will never be freed and removed again. As a consequence, the session count increases (we've seen 1000 concurrent sessions, with still "only" about 300 really active), and the memory usage increases as well, since these sessions are no longer destroyed. 
When we detect this situation, we often need to restart the application to solve the problem, although it will remain fully functional (until all memory of the server has been used, but this gives us a few hours to respond).

In other situations, even less frequent, the session manager seems to be unable to create new sessions. Connections are made, but no new sessions and no main forms are generated. The session count does not go up.

In both cases, the average CPU usage drops from the minimum of 10% CPU to about 0% CPU. I have a feeling this means that the "overhead" for the session manager is gone, and this helps in my thought that the session manager may be broken at those times.

Question: is there any way to inspect / query / interrogate the IntraWeb session manager to see if it's still alive? Restarting may be a problem as I do not want to kill the sessions that are still in active use (although the second case often leads to an IIS "Ping" reset, as the application pool itself may not respond to a ping within 90 seconds).

I also wonder if anybody else is seeing this behavior, or if we are just unlucky. I may very well be our application that upsets the session manager, but I wonder who and how.

Thanks in advance for any pointers, tips or hints.

Groetjes, Bob Swart

Print this item

  call to SOAP not work
Posted by: staff@ergosoft.it - 10-23-2023, 04:51 PM - Forum: Indy - Replies (2)

HI,

I need to call a function on a SOAP server. this is the code. I receive an error as a response ('' is not valid integer value) - error delphi. - look at the WSDL attachment imported from delphi

thanks
Alessandro Romano

this is the procedure:

Code:
var
  sDProt : AggiuntaRequestData;
  sRisposta : AggiuntaResponseData;
  ArraybyteSOAP, FileArrayByteSOAP : TByteSOAPArray;
  Base64: TBase64Encoding;
  TFilePrincipale : FileType;
  s : string;
begin
  // creo strutture
  sDprot := AggiuntaRequestData.Create;
  sRisposta := AggiuntaResponseData.Create;
  TFilePrincipale := FileType.Create;
  // ******

  // operatore e password
  sDprot.operatore := 'XXX';
  sDprot.password := 'YYY';
  // ******

  // file principale - Encoded in BASE64 e poi convertito in TByteSOAPArray
  FileArrayByteSOAP := TByteSOAPArray(TEncoding.UTF8.GetBytes(EncodeFile('c:\temp\prova1.pdf')));
  TFilePrincipale.NomeFile := 'prova1.pdf';
  TFilePrincipale.CidFile := FileArrayByteSOAP;

  // assegno struttura creata
  sDProt.filePrincipale := TFilePrincipale;
  // ****

  // segnature - Encoded in BASE64 e poi convertito in TByteSOAPArray
  s := EParametro.Text;
  Base64 := TBase64Encoding.Create;
  // converto in base64
  s := Base64.Encode(s);
  // converto in TByteSOAPArray
  ArraybyteSOAP := TByteSOAPArray(TEncoding.UTF8.GetBytes(s));

  sDProt.segnatura := ArraybyteSOAP;
  //******

  // chiamata al soap per nuovo protocollo - qui avviene errore su NuovoProtocollo
  sRisposta := (HTTPRIO1 as filedepot).NuovoProtocollo(sDProt); // <- ERROR


  // lettura eventuale risposta risposta
  Memo2.Lines.Add('Anno: ' +sRisposta.anno.ToString );
  Memo2.Lines.Add('Protocollo: ' + sRisposta.numero.ToString);
  Memo2.Lines.Add('Identificativo: ' + sRisposta.idProto.ToString);
  Memo2.Lines.Add('CodErrore: '+ sRisposta.coderrore.ToString);
  Memo2.Lines.Add('DescErrore: ' + sRisposta.deserrore);

  // free strutture
  sDProt.Free;
  sRisposta.Free;
  TFilePrincipale.Free;
  Base64.Free;



Attached Files
.zip   PIWSMAIN.zip (Size: 2.41 KB / Downloads: 0)
Print this item

  Invisible region occupying space on startup
Posted by: PaulWeem - 10-20-2023, 08:30 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi,

I'm having an issue with invisible regions at first start of the app.
One region is invisible at startup, but when running the app, the space occupied by this invisible region is still reserved.
After toggling visibility of this region to True and False again, the occupied space is gone and other regions are resized accordingly.

See the simple example attached.

Is there something I'm overseeing, or is this a bug?

Cheers, Paul



Attached Files
.zip   Regions.zip (Size: 91.31 KB / Downloads: 2)
Print this item

  IntraWeb 15.4.2 is out!
Posted by: Alexandre Machado - 10-20-2023, 07:21 AM - Forum: IntraWeb General Discussion - Replies (7)

Hi guys,

there is a new version that I strongly recommend because it contains 2 important fixes that may affect your application:

https://www.atozed.com/2023/10/intraweb-15-4-2/

PS: Curious users that inspect the source code of new versions may notice that there are some references (compiler directives) to Free Pascal compiler (FPC). Yes, it's a reality  Big Grin

We are starting to merge the FPC-capable branch with the main branch, but for now, no Delphi code has been affected. 

Enjoy!  Big Grin

Print this item

  Render issues in browser - SOLVED
Posted by: StephB - 10-16-2023, 01:02 PM - Forum: IntraWeb General Discussion - Replies (10)

Dear all,
I have some render issues in my IW app and I don't know how to avoid them.

My app will be used for annual interviews, manager and employee have to reply to a set of questions before the appointment (in a form uQuiz). Then, during the appointment, they review their replies in grid and they have to reply to the same set of questions togheter (in a form uReview).
The list of questions is made of frames inserted in a IWRegion. Questions are built programmatically because I have different types to use (radio groups, memo, edit).

In uQuiz, everything is OK, the list a questions is created as expected (for this demo, I've added the sequence numbers of my questions to validate the list order).
[Image: quiz_full_yqgf86.png]
(the green rectangle is the initial visible area of the scrollable region, I merged some screenshots to present the full region)

In uReview, the review table is OK, but the list of questions is not drawn in the expected order, every question after #4 is added just below #4.
[Image: review_full_mtn9t8.png]

The 2 forms uQuiz and uReview contain only a region to receive the questions. I use the same query to get the list of questions, with the same ORDER BY, and the frames are build using a shared procedure, so each form is suppose to do the same thing.
In both case, questions are processed in the correct order.
In uReview, if I refresh the page, the list is rebuild in the correct order.

Unfortunately, I tried to create a test case for you but I can't reproduce the same issue.
But my test case has another strange issue, maybe the origin is the same.
My test case randomly creates a list of questions (type radio group or memo, variable number of elements).
The main form contains 2 elements, a grid and a region to receive the questions frames.
In my HTML template, I want to display the grid then the region. When the app is launched, everything is ok.
But when I press Next or Previous to draw another group of questions, the region is displayed before the grid. Once again, if I refresh my page, the grid and the region are rebuild in the correct order, until I move to another group of questions.

Last problem, if I have to scroll down in my region containing the questions, when I move to another group, the scrollTop is not resetted to 0 and I don't see the new list of questions from the beginning.
This point also exists in my attached test case.

Hope you can understand my problem with my explanation only (not easy to descibe without the code), many thanks in advance for your help.

Regards,
Stéphane



Attached Files
.zip   radiogroup_async.zip (Size: 62.96 KB / Downloads: 2)
Print this item

  SameSite := ssoNone is not added to header response
Posted by: mhammady - 10-14-2023, 01:55 AM - Forum: IntraWeb General Discussion - Replies (3)

I need my app to be used from an iframe. When I set up a standalone server to use SSL and set CookieOptions.SameSite=ssoNone, the SameSite=None is not written resulting in the web browser considering it absent and defaulting to SameSite=Lax

I've seen this behavior in Chrome & Edge. With Firefox if SameSite=None is missing consider it as "None"

Can anyone please advise why SameSite is not showing when set to None?

PS: IW15.2.65

Thank you



Attached Files Thumbnail(s)
   
Print this item

  Terminate processing Callback
Posted by: RenSword - 10-11-2023, 03:17 AM - Forum: IntraWeb General Discussion - Replies (3)

Is there anyway to terminate a processing Callback(or async event) on a TIWAppForm? My callback function takes a long time to finish, I can't navigate to other page when the callback is still running.
the below sample simulate that I can't leave the page until Callback is done processing.

.zip   IWTerminateCallback.zip (Size: 8.19 KB / Downloads: 3)

Intraweb version: 15.4
Delphi version: 11.3

Thanks

Print this item

  password
Posted by: tobenschain - 10-10-2023, 06:40 PM - Forum: IntraWeb General Discussion - Replies (3)

I have an edit control set up as a password. Is there a way to stop it from remembering the last entry?

Print this item

  Session has no active form
Posted by: tobenschain - 10-09-2023, 07:00 PM - Forum: IntraWeb General Discussion - Replies (3)

I am unable to find the cause of this message in my code.

Print this item

  TIWDBEdit in Insert Mode
Posted by: joergb - 10-08-2023, 08:22 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi all

(Ver 15.4.1 ) on CBuilder 10.2.3

I have a strange behavior in IWDBEdit

If the underlying Dataset is in Browse Mode, the Components works normaly
Is the Dataset in Edit Mode , I change something and Post / Commit the Changes, it works fine.

But if the Dataset is in Insert Mode, all seems to work, I post / commit without any error or exception, but no Field is written , all Fields are left blank.

It's not new in 15.4.1 in the older version 15.3.x I have the same error , I hope, the update fix this.

Thanks in advance

  Jörg

Print this item