| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 91,630
» Latest member: 35bdclub3
» Forum threads: 2,418
» Forum posts: 11,355
Full Statistics
|
| Latest Threads |
How to terminate HTTP Thr...
Forum: Indy
Last Post: hamstring
Yesterday, 05:14 AM
» Replies: 4
» Views: 310
|
VCL conversion
Forum: Delphi General Discussion
Last Post: marktuan
08-07-2026, 01:20 PM
» Replies: 0
» Views: 366
|
Looking for UI Design Tip...
Forum: Delphi General Discussion
Last Post: chrisjordon232
08-06-2026, 05:17 AM
» Replies: 0
» Views: 85
|
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
08-04-2026, 03:50 PM
» Replies: 2
» Views: 248
|
New CGDevTools build is a...
Forum: CGDevTools
Last Post: lfeliz
08-04-2026, 12:03 AM
» Replies: 2
» Views: 1,409
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: JuergenS
07-31-2026, 09:44 AM
» Replies: 6
» Views: 1,313
|
Datatables question
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-28-2026, 04:34 AM
» Replies: 2
» Views: 302
|
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: CharlieDunn
07-27-2026, 08:27 PM
» Replies: 1
» Views: 486
|
Intraweb components missi...
Forum: IntraWeb General Discussion
Last Post: valmeras
07-27-2026, 03:18 PM
» Replies: 3
» Views: 431
|
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,925
|
|
|
| Exporting data to Excel |
|
Posted by: Fabrizio Conti - 12-22-2023, 09:32 AM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
Hi all,
I currently use the TMS component TTIWAdvWebGridExcelIO to import/export data to Excel. It works fine and it is very easy to use.
But it is old, it doesn’t support new Excel formats and it is my understanding that TMS will not develop his IW Suite anymore.
During the process to convert my applications moving away from TMS I need to find a solution for Exporting data to Excel from a table or dataset. Before diving into internet trying to find a convenient solution, I wonder if anyone can point me in the right direction of the best practice to do this fairly common task.
Thanks in advance
Fabrizio
|
|
|
| POTP implementation |
|
Posted by: iwuser - 12-21-2023, 02:17 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
To avoid reinventing the wheel, has anyone implemented, or seen it implemented anywhere else, a complete TOTP authentication implementation (preferably in Delphi / IntraWeb), from enrolling users with QR codes, secret storage, code validation, etc.? Hopefully also complete with a Windows Service, or some ASP/JSP/PHP back-end? - all the components are generally available, it’s just rolling it all into a complete product that would take time I’m trying to save. There are a few mobile apps that can be freely used for the client side, which seems like a good motivation to piggy back on that.
Alexandre, can you add something along these lines into the standard IW? - it will need a QR component and maybe a new authentication scheme?
|
|
|
| Change report from send email to post to a php handler, need advice... |
|
Posted by: BosseB - 12-21-2023, 10:01 AM - Forum: Indy
- Replies (4)
|
 |
I created a Subversion commit mailer back in 2018 using FPC/Lazarus and Indy 10 and it has been working ok up until recently when it has had all kinds of problems due to email security updates on mail servers etc.
So I am trying to move away from sending the emails out from the subversion server to have it post to a php script on my webserver instead. Then the script can send the report emails to the recipients.
The existing application uses TIdSMTP to send the message, which is written into a TIdMessage property by a composing function reading data from the svn server.
Now I want to have a similar function but instead of using the SMTP mail transfer it should POST the data to a php script which should do the mailing from there. I have so far no problems sending emails from that server.
But it is on an ISP so I cannot run anything else but web-server stuff there. Hence the php script for mailing.
So how can I use Indy10 to simulate a form submit using the POST method to send the data the script will need?
This is what I need to send:
- Sender name and email as a single line string
- Recipients list in name/email pairs as a single line string
- Message body as an html encoded multi-line text
These are already created in the current application but stuffed into a TIdMessage container used by TIdSMTP.
I can create the website php script as a form handler and use it to send the needed data from an html form with the following items:
method POST
From, To : text type inputs
Message: textarea
Submit button
What I want to do is send the data from my application the same way as how the user clicking submit would do.
How can that be done?
Which Indy10 component to use and how do I set it up to perform the POST operation?
|
|
|
| How to best accomplish this |
|
Posted by: PDSBILL - 12-19-2023, 02:41 PM - Forum: IntraWeb General Discussion
- Replies (8)
|
 |
We have several ISAPI IW apps (15.2) that we link by each calling the others using TerminateAndRedirect.
This has worked great. Now we find Bad actors try to scrape our application and we have added an encrypted time string parameter will now pass when each app calls the other apps.
we decode and check the time string in the server controller's IWServerControllerBaseNewSession event.
If not checkTS(asession) then
begin
Asession.terminate;
exit;
end;
ASession.Data := TIWUserSession.Create(nil, ASession);
The result of this change is we find iwcache folders are not being cleaned up.
We are also seeing Reply is already set errors.
If we use IWServerControllerBaseBeforeNewSession, how do we send back an dynamic HTLM response as the function does not provide a response object only a request object
|
|
|
|