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
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.
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
// 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
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?
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
We are starting to merge the FPC-capable branch with the main branch, but for now, no Delphi code has been affected.
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).
(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.
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.
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?
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.