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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 98,002
» Latest member: bgd99bettcom
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1223 online users.
» 7 Member(s) | 1213 Guest(s)
Applebot, Bing, Google, 98winvnitcom, bgd99bettcom, christinejohn, Dk888info, embassyknowledgeparks, f8betiio, n188vipcom1

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

 
Question SSL Certificate for stand alone IW Server
Posted by: rudyPos - 02-10-2023, 11:59 PM - Forum: IntraWeb General Discussion - Replies (12)

I have a stand alone IW web server not associated with a IIS web server for example.
I have successfully used a self signed certificate created with the IWCertificateManager.exe.

In the browsers used there is the warning (error) message stating the web site is unsafe (self signed cert).
Allowing the exception then proceeds to the web page(s) and all is well.

I recently decided to use a proper SSL certificate (Sertigo in my case) and I was able to use the certificate
files successfully in the application, HOWEVER now the browser produces a warning (error) message that
the web site is unsafe because the certificate is for a domain, not 127.0.0.1 for example (allow exception etc).  Tech support
for Sertigo indicated in that case a self signed certificate can be used.

I know cyber security is paramount so I am asking what am I missing?  Most notes I read about self signed certificates
is that they are not to be used 'in production'.  Some other posts here on this forum I saw comments that the IWCertificateManager.exe is shipped with other IW applications. How is that carried out at the end site?
I do not think you can get proper SSL Certificate without a domain (a.com or www.a.com). I saw that the more
expensive certificates allow "more" wildcards for the domain parameter(s) but I do not think that is what is needed
for a stand alone IW app.

Any comments or guidance is greatly appreciated.
I stand alone...

Print this item

  Indy on windows 2022 server
Posted by: mike.price@asterox.net - 02-10-2023, 02:54 PM - Forum: Indy - Replies (1)

I am programming a rest sever in Delphi 11 It has the standard Indy 10.6.2.0 installed.  Ssleay32.dll and libeay32.dll are in the same directory as the exe. When run on development machine all starts ok.
Copy exe and the dll’s to a directory on my windows 2022 server and it gives  ‘could not load ssl library’ I have set in code IdOpenSSLSetLibPath('c:\TestDLL') which I believe should not be necessary if the dlls are in the same directory still the same error. I have installed Indy directly on the server same error.
The rest server used to run ok on Microsoft server 2012 is there settings I am missing on new server?

Print this item

  download IntraWeb 15.2.35
Posted by: schkri - 02-10-2023, 01:25 PM - Forum: IntraWeb General Discussion - Replies (1)

Hello,

Link is broken, i need this version.

Link: 404 Not Found (atozed.com)
(https://downloads.atozed.com/intraweb/iw15.2.35.exe)

thanks,
Krisztian

Print this item

  AlignWithMargins not working correctly i Asynch calls
Posted by: Lenfors - 02-08-2023, 02:21 PM - Forum: IntraWeb General Discussion - Replies (3)

Hello!

Try this: 
Put an TIWRegion on a form (greater than 100, 100)
Put a TWButton in the Region
Set the Button.Align to alClient
Set the Button.Margins to 20,20,20,20

All this works fine, the button fills the entire region.

If you now add an event to the Button as:
procedure TIWForm1.IWButton1AsyncClick(Sender: TObject; EventParams: TStringList);
begin
  IWButton1.AlignWithMargins := Not IWButton1.AlignWithMargins;
end;


The AlignWithMargins will toggle when clicking the button, but the top and left positions are not set to 0 when AlignWithMargins is set to False and scrollbars appear in then Region control.

I tried the same function but in the Button1.OnClick event and then it works!? When AlignWithMargins is set to False the Button is reset to its original position filling the entire Region.

Is this a bug or as it should be? Maybee It's my lack of understanding of the Asynch and Synch events  Smile
Whats the difference between Asynch and Synch events and when should they be used?

Best asynch regards, Mikael

Print this item

  Idhttpserver force Login/password
Posted by: BartKindt - 02-05-2023, 09:44 PM - Forum: Indy - Replies (1)

I am writing a IdHttpsServer application, which requires that the connecting web browser login with username and password.

I am not a HTML specialist, but I remember that basic authentication would pop-up a (what looks like) *internal* web browser window where the Login and Password can be entered, after which these are send back to the Server in the 'Basic' authentication format.

So they show up in ARequestInfo.AuthUsername and ARequestInfo.AuthPassword.

How do I 'force' this to happen on the Browser side?  I was looking for a IdHttpsServer option to force this request, but can't find anything; So it must be a special HTML command/webpage to generate this on the browser side?

Print this item

  Terminating IntraWeb sessions
Posted by: JuergenS - 02-04-2023, 01:04 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi Alexandre,

i get an EIWSecurityException if try to use the new Event OnAsyncPageUnloaded

------------------------------------------------------------------------------------------------------------------------
Exception message  : Invalid page context
Security check failed. Please restart the application.
Exception class    : EIWSecurityException
Exception address  : 009B32F5
Exception Time    : 2023-02-04 13:40:22.155
------------------------------------------------------------------------------------------------------------------------
Application Name  : ???
Application Version: ???
Started at        : 2023-02-04 13:39:45.585
Running for        :  36 seconds
Computer Name      : ???
Compiler Version  : 350
------------------------------------------------------------------------------------------------------------------------
IntraWeb Version  : 15.2.69
Multi-session      : False
Content Path      : ???
Session count      : 1
Application Path  : ???
Active Form        : IWA_Frm_Main (TIWA_Frm_Main)
Active Form list  : [1] IWA_Frm_Main (TIWA_Frm_Main)
Form list          : [1] IWUserSession (TIWUserSession)
                    [2] IWC_Session (TIWC_Session)
                    [3] IWA_Frm_Main (TIWA_Frm_Main)
Browser Name      : Firefox
Browser UserAgent  : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Session ID        : MZnkcD~D7TiJN-DaHvuZrSv4AMC
Last Access        : 2023-02-04 13:40:21.488
Callback          : True
Callback name      : DoOnAsyncPageUnloaded
Runtime parameters :
------------------------------------------------------------------------------------------------------------------------
Client IP address  : 127.0.0.1
Request PathInfo  : /$/callback
Request Method    : POST
Request User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Cookies Count      : 1
------------------------------------------------------------------------------------------------------------------------
[Stack trace is empty]
------------------------------------------------------------------------------------------------------------------------

void setAsMainForm()
{
TIWA_Frm_Main::SetAsMainForm();
}

Regards
Juergen

Print this item

  Set summernote text programatically
Posted by: john.burgess - 02-04-2023, 12:15 AM - Forum: IntraWeb General Discussion - Replies (5)

When setting the textarea of TIWSummernote (e.g. IWSummernote1.Lines.Add('...'); ) programmatically, the control acts as expected, nicely rendering formatted HTML text.

However, if the control is rendered in a project using bootstrap template, the text area appears to be rendered in a separate frame which does not occupy the full width, and the html is shown as a literal sting.

   

The code I am using in both scenarios is the same:
IWSummernote1.Lines.Add('<p>Hello<br><b>World</b></p>');

Using Intraweb 15.6.9 ultimate.

Print this item

  IWModalWindow and templates
Posted by: jeroen.rottink - 01-31-2023, 04:04 PM - Forum: IntraWeb General Discussion - Replies (8)

Hi Alexandre,

I would like to show a bootstrap powered dialog template using TIWModalWindow. I can't get it positioned and sized correctly.
Attached a example showing the problem. DlgMsgBoxRegion.html contains the dialog I would like to show. TIWModalWindow may center it but it should let bootstrap handle size and resizing.

What to do?

PS: I forgot to turn off ClipRegion in the example but that doesn't make a big difference.



Attached Files
.zip   issue3151 - iwmodalwindow - 2.zip (Size: 29.96 KB / Downloads: 9)
Print this item

  Throttle multiples connections ?
Posted by: Adrien - 01-30-2023, 04:54 PM - Forum: Indy - No Replies

Hello,

I'm wondering if there is a way to throttle a group of connections using a TIdInterceptThrottler, or some other way.

2 things I'm looking to achieve:

1) On the client side, I am using multiple connections to send data to a server. I want to be able to limit all these connections to a certain number of bits per second. Currently I'm able to throttle each connection individually, but not as a "group". A naive way would be to use n different TidInterceptThrottlers for n established connections and set BitsPerSec to MaxBytesIWant div n, but if some connections are no longer used, the remaining connection would be unnecessarily throttled to a lower value.

2) On the server side, certain uploads initiated by different clients are treated as the same global operation, and I would be able to allow them to be throttled as a whole. For example, set a specific BitsPerSec limit for all these connections.

Is there a way to do this with Indy 10?

Kind regards,

Adrien

Print this item

  New Property in iwbsdropdown
Posted by: Anto90 - 01-18-2023, 04:44 PM - Forum: IntraWeb General Discussion - Replies (1)

Hello,
it possibile to add LockOnAsyncEvent also in DropdownItems of IWBSDROPDOWN in iwbootstrap 3?

It could be a good idea to show spinner in async event...

Another..
It can be possible add property visible and method Hide to hide single element of DropDownItems of IWBSDropdown. Sometimes i must hide some menu items and it could be better don't like javascript do hide but use its own method.

Thank you
Andrea

Print this item