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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 99,018
» Latest member: thoitiethomnay4
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 684 online users.
» 1 Member(s) | 679 Guest(s)
Applebot, Bing, Google, Yandex, franpartsertu1970

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 322
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 252
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 280
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 593
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 323
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 756
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 302
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,426
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 441
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,112

 
  E-Mail Validate??
Posted by: ShaneStump - 11-15-2019, 07:21 PM - Forum: IntraWeb General Discussion - Replies (5)

Howdy All!

I have an e-mail regexp that I have been using that validates most e-mail addresses.

I have tried it (and many others I have seen in stackoverflow) and none of them validate a test e-mail account I have been given by Viator. I have tried some of the online validators and they work!

So my question is does anyone have a C++ or Delphi regexp that can validate the following e-mail account and return True.

MSG-8b17fa92-7b35-4fdb-9f18-f8a69252e019+BR-999999999@expmessaging.tripadvisor.com

Thanks in advance,

Shane

Print this item

  IW unable to server static files in folder
Posted by: cprmlao@hotmail.com - 11-15-2019, 01:53 PM - Forum: IntraWeb General Discussion - Replies (9)

Hi I am trying create a valid SSL certificate withn zeroSSL.

To validate the CSR I choice HTTP option and zeroSSL saids I have to put some files in "{wwwroot}.well-known/acme-challenge/" folder

I am having a problem where IW is unable to server static files when I create ".well-known/acme-challenge/"  into wwwroot.

IW returns an error of "Resource not found".

It seems IW has a problem com "hyphen". I was searching in the google, I can see "hyphen" is a legal char in a URL and doesn´t needs to encode it.
But if I encode it, I also have the same problem.



Code:
127.0.0.1/.well-known/acme-challenge/teste.txt   // here I get resource not found


I did a test changing  the names folder to the next, and it works
Code:
127.0.0.1/.well-known/acme_challenge/teste.txt  // here it works

But I need to use:
Code:
127.0.0.1/.well-known/acme-challenge/teste.txt

I have tried to change  hyphen with "%2D" but no look.

How could I fix it?
Is it a IW bug?

Regards, Luiz

Print this item

  TIdTelnet Disconnect
Posted by: omarreis - 11-15-2019, 01:03 PM - Forum: Indy - Replies (4)

I'm using telnet client in my app, to access streaming market data.
It works ok for Windows and iOS, but on Android the app hangs
for several seconds when telnet.Disconnect is called.  So much that
Android detects the app is stalled and terminates it.

I understand that Connect and Disconnect can block the
execution, so they are not to be called from the UI thread.
But why Disconnect takes so long ?

One guy suggested on stackoverflow that the reader thread
was locked or not finishing, and that blocked the Disconnect call.

So I tried to create a thread dedicated to disconnect.
It seems to work   Smile 

Code:
procedure TForm1.ThreadedTelnetDisconnect;
var aThreadDisconnect:TThread;
begin
  aThreadDisconnect := TThread.CreateAnonymousThread(
      procedure begin
        IdTelnet1.Disconnect;
      end);
  aThreadDisconnect.start();
end;

Print this item

  GStack.LocalAddress returns empty only with Delphi 10
Posted by: processeur_fou - 11-14-2019, 05:15 PM - Forum: Indy - Replies (8)

Hello,

I use UDP to send a  video stream to VLC, it works very well when I have a local network active (Wifi or Ethernet).
But if I have no Wifi and no Ethernet card activated, it works if I compile my source code using Delphi2010 ( using 127.0.0.1 IP address) but doesn’t work if I compile my source code using Delphi 10.
After searching, I discover that  my procedure to find local IP can find 127.0.0.1 ( Nbr of local IP =1) using Delphi 2010 but find no local IP using Delphi 10 (Nbr of local IP = 0)

Code:
TIdStack.IncUsage;  LocalIPasked := '0.0.0.0';
  try    //**************************************************************
    NbLocalIP := GStack.LocalAddresses.Count;
    Memo1.Lines.Add(Format('nbr of local IP= %d ', [NbLocalIP]));
    for i := 0 to NbLocalIP-1 do
      begin
        Memo1.Lines.Add(Format('IP n° %d = %s', [i + 1, GStack.LocalAddresses[i]]));
      end;
  finally
    TIdStack.DecUsage;
  end;

 
Why do I have this difference between Delphi2010 and Delphi_10 ? Have I miss something or compiler setup when I change my Delphi 2010 to Delphi 10?


Rem: I have tested also a second way to find the number of local IP but same result (0) using Delphi 10


Code:
...
LList := TIdStackLocalAddressList.Create;
  try
    GStack.GetLocalAddressList(LList);
    Memo1.Lines.Add(Format('nbr of local IP found: %d ', [LList.Count]));
...

Result is 0 using Delphi 10

Can someone tell me where I miss something?
Thank you.

Print this item

  TMS Intraweb Components with IW15 ?
Posted by: SorenJensen - 11-14-2019, 12:32 PM - Forum: IntraWeb General Discussion - Replies (3)

Hi all,

I'm considering investing in the TMS Intraweb Component Pro Pack, mainly due to requirements for listing SQL table data in grid form, with options for paging and for on-screen viewing / searching and with options for printing grid contents directly, or at least export to both Excel and PDF file formats.

Do anyone in here have any experience with that ? Any pros and cons ?

Regards
Soren

Print this item

  Tooltip Button
Posted by: matija - 11-14-2019, 06:33 AM - Forum: IntraWeb General Discussion - Replies (3)

I have in template define IWButton {%IWButton1%}.

My JS: $("[data-toggle=tooltip]").tooltip();

My Atribute: data-toggle="tooltip" data-placement="top" data-html="true" title="text <br/>text" 

Where insert Tooltip atribute?

Print this item

  Protect against ddos
Posted by: tlang@bst-gmbh.com - 11-13-2019, 09:03 AM - Forum: IntraWeb General Discussion - Replies (19)

Hello,

i have an intraweb application running as ISAPI.DLL in IIS.

How can i protect against ddos attacks.

I have testet, everyone on this world knowing my hostname und Name of the dll can crash my side with a simple stress tool.

It takes just 5 to 10 minutes to crash the side and also all other websides running in iis.

How can i protect against it.

Thanks
Theo

Print this item

  IW 15.1.8 is out
Posted by: Alexandre Machado - 11-12-2019, 09:26 AM - Forum: IntraWeb General Discussion - Replies (5)

There is a new update available, version 15.1.8

https://www.atozed.com/2019/11/15-1-8/

For Delphi 10.3 Rio, you need to install Update 2 and Runtime compatibility patch:

Update 2: http://docwiki.embarcadero.com/RADStudio..._Release_2

Runtime compatibility patch: https://cc.embarcadero.com/item/30886


Enjoy  Big Grin

Print this item

  reverse proxy issue? Fails on 15.1.5 works on 15.0.17
Posted by: PDSBILL - 11-11-2019, 03:41 PM - Forum: IntraWeb General Discussion - Replies (27)

I have create a simple app with 2 forms. each form has a button to go to the other form on async click
when run the first form appears but when I attempt to go to the 2nd form, I get an error. I asked the web IT what is causing the error and here is his response,
this program works under IW 15.0.17 but fails under 15.1.5.

below is response from customer IT staff.

So here’s what’s happening.  The site is making an ajax request that returns XML which has javascript commands that are being executed.  The one being returned is redirecting to a URL, but in that URL is the translation IP address.  I’m not sure if it’s possible with the program to tell it to use absolute URLs to the route (i.e. /webppreviewer_DEV/projecttestssl.dll/) without the domain or IP, or if there is a way around this.
 
The Url rewrite module on the reverse proxy is supposed to make this change, but it’s set to do it on outgoing html traffic.  I changed it to also look for outgoing XML and to add the <literal> tag, but it’s still not catching it, probably because it’s in a CDATA section.
[Image: 0?ui=2&ik=e38e4c2a0d&attid=0.1&permmsgid...8&disp=emb]
<response>
<execute>
<literal>
<![CDATA[
window.location.replace("http://10.10.250.38/webppreviewer_DEV/projecttestssl.dll/");
]]>
</literal>
</execute>
<trackid>11</trackid>
</response>

Print this item

  FireDac in Isapi.dll
Posted by: Mikael Nilsson - 11-11-2019, 03:02 PM - Forum: IntraWeb General Discussion - Replies (3)

IW 15.1.7

I have recently converted  DBExpress to FireDac in my web application.
Now almost every day the web application and my datasnap application freezes
and I have to stop start the web pools.


Today I remembered this:

"FireDAC is thread-safe, when the following conditions are meat:
A connection object and all associated with it objects (like TFDQuery, TFDTransaction, etc) in
each moment of time must be used by a single thread. FDManager must be activated before
threads will start by setting FDManager.Active to True."


Is it relevant in a ISAPI.dll? If so where do I put the code?

I have also attached a log message from my Isapi.dll witch I think is causing the problem

.txt   wwd.txt (Size: 14.26 KB / Downloads: 6)

Print this item