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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 82,251
» Latest member: aquaspinsde
» Forum threads: 2,408
» Forum posts: 11,314

Full Statistics

Online Users
There are currently 570 online users.
» 2 Member(s) | 564 Guest(s)
Applebot, Bing, Google, Internet Archive, aquaspinsde, rlebeau

Latest Threads
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
Yesterday, 04:40 AM
» Replies: 5
» Views: 619
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 67
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,344
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
06-04-2026, 09:14 AM
» Replies: 3
» Views: 471
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 516
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: geraldtatum
06-02-2026, 06:24 AM
» Replies: 1
» Views: 412
weakpackageunit contains ...
Forum: IntraWeb General Discussion
Last Post: rlebeau
05-26-2026, 04:56 PM
» Replies: 4
» Views: 525
Custom 404 handler
Forum: IntraWeb General Discussion
Last Post: CfawesDwale
05-21-2026, 08:02 AM
» Replies: 0
» Views: 253
PopUp Menu
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 04:35 AM
» Replies: 4
» Views: 8,206
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 03:32 AM
» Replies: 3
» Views: 4,121

 
  TIWAdvMessageDialog
Posted by: Mikey29 - 06-08-2018, 03:12 PM - Forum: IntraWeb General Discussion - Replies (1)

Hello,

I'm using a TIWAdvMessageDialog with commonButtons =[cbOK,cbNo].
I would like to translate the Yes NO to "Oui' "Non" in my messagebox…

How to do this, please ?

With Best Regards,
Mikey

Print this item

  How to redirect http to https in TIdCustomHTTPServer
Posted by: ermesoml - 06-08-2018, 02:56 PM - Forum: Indy - Replies (2)

Hello Guys,

I am trying to do a service that works under ssl, but that I redirect the http connections to https and I have not succeeded. Is it possible to do that?
I need to use port 9001 so I also can not bind on two different ports, so I need only redirect https:\\example.com to https:\\example.com.

My implementation:

Code:
 sslHandler := TIdServerIOHandlerSSLOpenSSL.Create(nil);
 sslHandler.SSLOptions.KeyFile := GetCurrentDir + '\certificados\private.key';
 sslHandler.SSLOptions.CertFile := GetCurrentDir + '\certificados\certificate.crt';
 sslHandler.SSLOptions.RootCertFile := GetCurrentDir + '\certificados\ca_bundle.crt';
 sslHandler.SSLOptions.Mode := sslmServer;
 sslHandler.SSLOptions.SSLVersions  := [sslvTLSv1, sslvSSLv2, sslvSSLv23, sslvSSLv3, sslvTLSv1_1, sslvTLSv1_2];
 sslHandler.SSLOptions.VerifyDepth  := 0;
 sslHandler.SSLOptions.VerifyMode   := [];
 sslHandler.OnGetPassword := IdServerIOHandlerSSLOpenSSLGetPassword;
 
 Server.OnConnect := onConect;
 Server.IOHandler := sslHandler;

and 

Code:
if (AContext.Connection.IOHandler is TIdSSLIOHandlerSocketBase) then
   TIdSSLIOHandlerSocketBase(AContext.Connection.IOHandler).PassThrough:= False;


Thank you!

Print this item

  intraweb 15
Posted by: Alain - 06-08-2018, 02:44 PM - Forum: IntraWeb General Discussion - Replies (1)

Hello everybody

is there a list of improvements to version 15?
I wonder if I have to buy it
Merci

Alain

Print this item

  Performance tip for IW 15
Posted by: Alexandre Machado - 06-08-2018, 07:41 AM - Forum: IntraWeb General Discussion - Replies (1)

Here it goes:

https://alexandrecmachado.blogspot.com/2...anism.html

Print this item

  unfolding header lines in TIdAttachment[File]
Posted by: Boba TC - 06-08-2018, 01:42 AM - Forum: Indy - Replies (10)

First of all, thanks to you guys for having this forum running!
I did try to post on embarcodero but it seems to be cold dead.
My problem is in sending an attachment with TIdSMTP v.10:

Code:
TIdMsg *IdMsg;
//...
TIdAttachmentFile *attchmnt=new TIdAttachment(IdMsg->MessageParts, "filename.txt");
attchmnt->FoldLines=false; - ?
attchmnt->UnfoldLines=true; - ?
IdMsg->Send();

this message does arrive to its intended destination with proper attachment, but the receiving server wants
the attachment header lines to be unfolded and header fields to be  separated by "; " (semicolon followed
by a space). So, where do I go to satisfy this server? Thanks in advance. Boba TC.

Print this item

  Use of IWBootstrap and IW templates
Posted by: jeroen.rottink - 06-06-2018, 12:17 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi,

The question I have is using IWBootstrap (TIWBSText) with templates. I'm using IW14 so it's not the new integrated IWBootstrap version from IW15.
I use bootstrap-table and the REST method for loading the table. It's all from templates.

Code:
<script type="text/javascript">
// connect dbGrid table to bootstrap-table object
$('#DBGRID').bootstrapTable(
 {"columns":[
   {"field":"product","title":"product"},
   {"field":"aantal","title":"aantal"},
   {"field":"afmeting","title":"afmeting"},
   {"field":"status","title":"status"}
 ],
 "url":"/$iwbs/DBGRID.dataurl",
 "classes":"table table-striped table-no-bordered"});
 
// connect table cell click event handler
$("#DBGRID").off("click-cell.bs.table").on("click-cell.bs.table", function(e, field, value, row) {
 ajaxCall("DBGRID.click-cell.bs.table","&row="+row.id, false);
});  
</script>

Here the data for the table is fetched from "/$iwbs/DBGRID.dataurl". In the form an eventhandler picks up the request and outputs a json response.
This works if you set TIWServerController.AllowMultipleSessionsPerUser = False. If you set this property to True, the url that is referenced doesn't trigger the eventhandler.
Because I would like a solution that works in both situations I changed the url to "../$iwbs/DBGRID.dataurl" in the template. This works in both situations.

Question: "Is this the correct and preferred way to work with these urls?"

Using IW14.1.3 and Delphi 10.1

Print this item

Information New update for IW 15
Posted by: Alexandre Machado - 06-06-2018, 09:57 AM - Forum: IntraWeb General Discussion - No Replies

Hello guys,

some users had issues while entering the new license in IW 15 setup. These issues are hopefully fixed now and a new build is available: https://www.atozed.com/2018/06/15-0-2/

Enjoy!  Smile

Print this item

  Sync without it
Posted by: morhous - 06-06-2018, 08:42 AM - Forum: IntraWeb General Discussion - Replies (3)

how to refresh my dbgrid without reloading it also without navbar

Print this item

  Show old Loading.gif from IW-14.0.63
Posted by: jorgo2018 - 06-05-2018, 03:08 PM - Forum: IntraWeb General Discussion - Replies (5)

Hello,

how can we show the old Loading.gif from IW-14.0.63?
The spinning wheel of the old gif was much smaller.
We do not want to change the animation-gif of our existing program.

Questions:

1.) Where can I get the old Loading.gif?
    Can't find it.
    Can not find the new one either.
 
2.) In which directory should the file be copied?
    ("C:\..myApp\Win32\Debug\wwwroot\")

3.) I tested in object inspector without success:
    IWServerController.CustomLockerAnimationFile = Loading.gif
       (ComboBox for CustomLockerAnimationFile has no entrys)
    IWServerController.ShowLoadingAnimation = True

Best regards - jorgo

Print this item

  Hide Registration Information
Posted by: richard@dinopro.com - 06-05-2018, 01:40 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi, Like to know if anyone knows how to hide the information that shows on the web server program other than running it as a service.

There are information to say who this intraweb is registered to. I would like to prevent this from being displayed. 

Anyway to do that ?

Rgds,
Richard Lim

Print this item