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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 95,275
» Latest member: ae8886grcom
» Forum threads: 2,423
» Forum posts: 11,365

Full Statistics

Online Users
There are currently 865 online users.
» 0 Member(s) | 862 Guest(s)
Applebot, Bing, Google

Latest Threads
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 37
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 333
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 68
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
08-27-2026, 08:39 AM
» Replies: 0
» Views: 136
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 1,863
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 225
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 670
Looking for UI Design Tip...
Forum: Delphi General Discussion
Last Post: chrisjordon232
08-06-2026, 05:17 AM
» Replies: 0
» Views: 248
TIWjQDBGrid DateFormat
Forum: IntraWeb General Discussion
Last Post: brushbuny
08-05-2026, 03:31 AM
» Replies: 2
» Views: 1,644
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
08-04-2026, 03:50 PM
» Replies: 2
» Views: 381

 
  WebApplication.Sendfile doesn't work
Posted by: KUD1990 - 06-28-2023, 11:24 AM - Forum: IntraWeb General Discussion - Replies (2)

[SOLVED]

Hi all, 

I use the WebApplication.Sendfile function on AsyncClick to download one csv File but this function sometimes doesn't work. 
On OnClick Event don't work, it loads and loads and never does download the file.
Can someone please explain me why it happen? What should I change to get the file normal download? 

Thanks

Print this item

  jquery and themes
Posted by: gbh100 - 06-27-2023, 11:19 PM - Forum: IntraWeb General Discussion - Replies (1)

given the support for jquery grid etc would it be possible to get a demo of how this would work with themes.  I'm considering dropping my CGDev dependancy where i can

Print this item

  Betfair Streaming API
Posted by: cnielsen4211 - 06-27-2023, 01:08 AM - Forum: Indy - Replies (3)

Hi,

I have searched everywhere trying to find a solution to this problem.

I am a regular user of Betfair and use their polling API with idHTTP components which has worked fin for years and now I'm getting endless SSL errors, so I want to change to the Betfair Stream API using TCP.

I have a valid Login and the correct API Key which is required for Betfair API Access.

Here is my code:

Code:
procedure TfrmStream.Button1Click(Sender: TObject);
var
  SSLHandler: TIdSSLIOHandlerSocketOpenSSL;
  headers, response, connectionmessage: string;
begin
  if not TCPClient.Connected then
    begin
      try
        Memo1.Lines.Clear;
        SSLHandler := TIdSSLIOHandlerSocketOpenSSL.Create(TCPClient);
        SSLHandler.SSLOptions.Mode := sslmClient;
        SSLHandler.SSLOptions.VerifyMode := [];
        SSLHandler.SSLOptions.VerifyDepth := 0 ;
        SSLHandler.SSLOptions.SSLVersions :=  [sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2];
        TCPClient.IOHandler := SSLHandler;
        TCPClient.Host := 'stream-api-integration.betfair.com';
        TCPClient.Port := 443;
        TCPClient.ConnectTimeout := 5000;
        TCPClient.Connect;
        response := TCPClient.IOHandler.ReadLn;
        Memo1.Lines.Add(response);
      except
        on E: Exception do
          Memo1.Lines.Add(' ====== ERROR ======' + sLineBreak +
            ' > ' + E.Message + sLineBreak);
      end;
    end
  else
    begin
      TCPClient.Disconnect;
    end;
end;

I get no response at all where I should be getting

Code:
{"op":"connection","connectionId":"105-260623224442-1720442"}

If I place the same url in a browser I do get the response, so why doesn't my code get a response?

I've been battling this for over week so any help would be appreciated.

Print this item

  IntraWeb 15.3.9 is out!
Posted by: Alexandre Machado - 06-26-2023, 06:46 AM - Forum: IntraWeb General Discussion - No Replies

Hi folks,

there is a new update available, IW 15.3.9:

https://www.atozed.com/2023/06/intraweb-15-3-9/

Enjoy!  Big Grin

Print this item

  lots of TidHTTP errors occurring
Posted by: cnielsen4211 - 06-24-2023, 03:17 AM - Forum: Indy - Replies (3)

Hi, I'm new here but came here out of frustration trying to find help with the TIdHTTP errors I'm getting.

I have the latest Delphi 11 and INDY version is 10.6.2.0.

I have been using the TIdHTTP component to communicate with the Betfair.com API and my programs continually poll the website to get the information I want. These programs have been working both locally and on VPS for years.

All of sudden I'm now getting these error messages randomly and fairly frequently:

1) Time out errors

2) Error connecting with SSL
    error:1404F10B: SSL Routines SSL3_GET_RECORD : wrong version number

3) Error connecting with SSL
    error: 14077410:SSLroutines SSL23_GET_SERVER_HELLO: sslv3 alert handshake failure

My programs using the TIdHTTP component have been working fine for years and all of a sudden these frequent error are occurring, causing a program crash.

My code:

Code:
try
  httpClient.Request.AcceptEncoding  := 'gzip, deflate';
  httpClient.Request.ContentType    := 'application/json;';
  httpClient.Request.Charset        := 'utf-8';
  httpClient.Request.ContentLength  := sizeof(Params);
  httpClient.Request.Connection    := 'Keep-Alive';
  httpClient.Request.Accept        := 'application/json';
  httpClient.ReadTimeout            := 120000;
  httpClient.ConnectTimeout        := 120000;
  // httpClient.HandleRedirects        := true;  { added friday 20230623  didn't solve problem}
  httpClient.Request.CustomHeaders.Add('X-Authentication:' + SessionToken);
  httpClient.Request.CustomHeaders.Add('X-Application:' + 'lgQDTaP9sJgCDTs8');
  sslIOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil);
  sslIOHandler.PassThrough := false;  { added friday 20230623}  //https://quality.embarcadero.com/browse/RSP-29900  hasn't solved problem
  sslIOHandler.SSLOptions.Method :=  sslvSSLv3;
  sslIOHandler.SSLOptions.sslversions := [sslVTLSv1, sslVTLSv1_1,sslVTLSv1_2,sslvSSLv3];
  // sslIOHandler.SSLOptions.Method := sslvSSLv3;  // tried lots of versions of SSL none solved the problem
  // sslIOHandler.SSLOptions.SSLVersions := [sslvSSLv3];
  httpClient.IOHandler := sslIOHandler;
  httpClient.Request.ContentLength := sizeof(Params);
  httpClient.Post(self.URL, Params, HTTPstr);
except

I'm getting desperate for a solution, any help would be appreciated.



Attached Files Thumbnail(s)
       
Print this item

  Intraweb demos and documentations for C++ builder users (Priority user)
Posted by: valmeras - 06-23-2023, 06:36 PM - Forum: IntraWeb General Discussion - Replies (4)

As a General remark, I would like to remind to Atozed that there are also C++ users like me!
All sample codes are for Delphi!
Which requires from our side to adapt for C++ Builder.
For example the new Async Callback functions:

https://docs.atozed.com/docs.dll/develop...015.1.html

For sure this cannot work for C++ Builder because if the linker cannot find the definition of the callback function declared in the header file, it will generates an error!

So, when Atozed build samples for Delphi users, it will be better to also build the same samples and documentations for C++ Builder users!

Print this item

  addToHomescreen
Posted by: Сергей Александрович - 06-23-2023, 04:43 PM - Forum: IntraWeb General Discussion - No Replies

There is an add To Home screen feature in github.  How to "fasten" it to the application in IntraWeb?

write : in ContentFiles : addtohomescreen.js

I place the add to home screen file addtohomescreen.js in the wwwroot folder.

in Script Events buttons  onClick write: addToHomescreen();

When you click on the "nothing happens" button

Sad

Print this item

  SSL/TLS: Renegotiation Vulnerability
Posted by: pgnair - 06-23-2023, 06:09 AM - Forum: IntraWeb General Discussion - Replies (8)

Hi Team
Please advise how to resolve the below vulnerabilities
Thanks
Pramod

SSL/TLS: Renegotiation DoS Vulnerability (CVE-2011-1473, CVE-2011-5094)
SSL/TLS: Renegotiation MITM Vulnerability (CVE-2009-3555)


The remote SSL/TLS service is prone to a denial of service (DoS) vulnerability.The flaw exists because the remote SSL/TLS service does not properly restrict client-initiated renegotiation within the SSL and TLS protocols. Note: The referenced CVEs are affecting OpenSSL and Mozilla Network Security Services (NSS) but both are in a DISPUTED state with the following rationale: > It can also be argued that it is the responsibility of server deployments not a security library to prevent or limit renegotiation when it is inappropriate within a specific environment. Both CVEs are still kept in this VT as a reference to the origin of this flaw.The flaw might make it easier for remote attackers to cause a DoS (CPU consumption) by performing many renegotiations within a single connection.

Print this item

  Cookie Overly Broad Path Detected
Posted by: pgnair - 06-23-2023, 04:32 AM - Forum: IntraWeb General Discussion - Replies (5)

Hi Team
A new vulnerability got in the VAPT. How can fix it please?
Thanks
Pramod



Cookie Overly Broad Path Detected

The cookie 'path' attribute signifies the URL or path for which the cookie is valid. If an overly broad path like root '/' is specified in the cookie then it is accessible through other applications on the same domain. Exposing the cookie to all web applications on the domain can lead to sensitive information disclosure like session identifier etc. and can cause one application to compromise another application.

Print this item

  Possible Sensitive Directories/Files Detected
Posted by: pgnair - 06-23-2023, 02:43 AM - Forum: IntraWeb General Discussion - Replies (3)

Hi Team
Kindly advise how to solve the below vulnerability. There are few upload and downloads in the website and everything doing through the wwwroot folder.
Thanks
Pramod

Possible Sensitive Directories/Files Detected

These directory/files may expose sensitive information that could help a malicious user to prepare more advanced attacks. A possible sensitive directory has been found. These directory/files are not directly linked from the website. This check looks for common sensitive resources like backup directories database dumps administration pages temporary directories. Each one of these directories could help an attacker to learn more about his target.

Print this item