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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 92,626
» Latest member: bongda_sh
» Forum threads: 2,418
» Forum posts: 11,356

Full Statistics

Online Users
There are currently 1118 online users.
» 2 Member(s) | 1112 Guest(s)
Applebot, Bing, Google, Yandex, Bj66club, bongda_sh

Latest Threads
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 395
VCL conversion
Forum: Delphi General Discussion
Last Post: marktuan
08-07-2026, 01:20 PM
» Replies: 0
» Views: 384
Looking for UI Design Tip...
Forum: Delphi General Discussion
Last Post: chrisjordon232
08-06-2026, 05:17 AM
» Replies: 0
» Views: 107
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
08-04-2026, 03:50 PM
» Replies: 2
» Views: 277
New CGDevTools build is a...
Forum: CGDevTools
Last Post: lfeliz
08-04-2026, 12:03 AM
» Replies: 2
» Views: 1,431
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: JuergenS
07-31-2026, 09:44 AM
» Replies: 6
» Views: 1,378
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: CharlieDunn
07-29-2026, 10:02 AM
» Replies: 3
» Views: 530
Datatables question
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-28-2026, 04:34 AM
» Replies: 2
» Views: 341
Intraweb components missi...
Forum: IntraWeb General Discussion
Last Post: valmeras
07-27-2026, 03:18 PM
» Replies: 3
» Views: 463
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-17-2026, 05:18 PM
» Replies: 6
» Views: 4,971

 
  EIWException when start a new session
Posted by: Victoria - 10-26-2023, 01:06 PM - Forum: IntraWeb General Discussion - Replies (3)

Hello,
there is a strange behave if I do start a new session.

For quick testes (local) i take the adress line - as Example "localhost:8061" and copy this to different browsers.
Then a EIWException appears and tell me that "Evaluation Editoin only permits use on localhost (127.0.0.1)" .
But 127.0.0.1 is in my eyes localhost! So i think this a bug.

   

Can you help me here?
with friendly regards
Victoria

Print this item

  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

Print this item

  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