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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 98,731
» Latest member: TomSmithbb
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 605 online users.
» 2 Member(s) | 600 Guest(s)
Applebot, Bing, Google, sunwintdtccom, TomSmithbb

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

 
  Indy SMTP Server TLS Change Certificates while Active?
Posted by: vbgamer45 - 08-23-2019, 08:47 PM - Forum: Indy - Replies (1)

Running Indy 10.6.2.0

It seems like I can’t change the certificate files after setting
IdSMTPServer1->Active = true;

I have my test certificate loaded before that call and that domain works fine but when I try to do after that does not reload/work


What I am trying do is add STARTTLS support based on bound IP then find the right domain certificate based on the IP to load.

Trying doing this in IdSMTPServer1Connect(TIdContext *AContext)
Where I find the AContext->Connection->Socket->Binding->IP; 

Which I hoped would then allow me to load the certificate file that was needed used the following:

Code:
IdServerIOHandlerSSLOpenSSL1->SSLOptions->CertFile = aSystemDrive + "\\cert\\" + asBannerDomain + "-chain.pem";
IdServerIOHandlerSSLOpenSSL1->SSLOptions->KeyFile = aSystemDrive + "\\cert\\" + asBannerDomain + "-key.pem";

Added logging to IdSMTPServerOnBeforeCommandHandler
And the CertFile and KeyFile were still set correctly. It seems like the certificates were not reloaded.

Been using https://www.checktls.com to test with as well.

Print this item

  Ajax server error with cell phones
Posted by: bob9999 - 08-22-2019, 06:59 PM - Forum: IntraWeb General Discussion - Replies (18)

Hi there.  I have a weird issue that appears to occur when a cell phone has an networking bandwidth issue.  When the phone is on a home wi-fi network with great signal or cell tower all is fine and my application works perfectly.  I managed once to get the ajax server error when I pressed a function before the other request was completed like if the error occurred on the original request.  My client is getting the issue pretty much all the time on the road on his iPhone with Chrome.

In the server controller I have:

AllowMultipleSessionsPerUser = True
AuthBeforeNewSession = false
RestartExpiredSession = false
UseAjaxNotify = true
AjaxErrorMode = emAlert

I can trim my app more so then less bandwidth is required but there is still risk with these mobile devices.  Is there anyway to turn off the ajax errors so then if the user is continuously clicking the old requests just die or if there is an ajax error nothing is displayed to user and all just appears to be slow?

Any other ideas would be appreciated.  

Cheers!

Print this item

  15.1.4: IWClassesFix was compiled with a different version ...
Posted by: Fulgan - 08-22-2019, 11:59 AM - Forum: IntraWeb General Discussion - Replies (5)

After updating IW to 15.1.4 (from a previoulsy working version 15.x) I have this message when trying to compile any IW application in Delphi 10.2.3:

[dcc32 Fatal Error] IWApplication.pas(410): F2051 Unit IWClassesFix was compiled with a different version of IWApplication.TIWApplication

I'm using Delphi 10.2 Version 25.0.29899.2631

Print this item

  Execute JS in template
Posted by: matija - 08-22-2019, 05:59 AM - Forum: IntraWeb General Discussion - Replies (2)

In my HTML template i have JS function.

function openNav(){
...
}

procedure TForm1.IWAppFormShow(Sender: TObject);
begin

InitAddProc('openNav();');

end;

This not work?

Print this item

  IWEdit caret position
Posted by: SorenJensen - 08-22-2019, 05:53 AM - Forum: IntraWeb General Discussion - Replies (9)

Hi All,

In FormShow I put some text into the a IWEdit control and then call iwedit1.setfocus. The text is shown, but the caret is positioned before the leftmost character.

In Tedit I would use Selstart to position the caret at the end of the text, but selstart is not a property / method of iwedit.

Do anyone have a suggestion as to how it can be done ?

Regards
Soren

Print this item

  Tabbed like browsing with Intraweb ?
Posted by: SorenJensen - 08-21-2019, 10:15 AM - Forum: IntraWeb General Discussion - Replies (6)

Hi All,

I'm wondering how I can make something like tabbed browsing available for my intraweb users, and hope that some of you, who obviously know intraweb a lot more, and deeply than I, could give me some ideas of how to archive that. Note that my application is installed as a service on a server.

Would it be possible to start the same application multiple times, either in a new tab for each, or as a new browser for each ?

I have tried activating the same service on more that one tab, and technically it appears to work (no errors), but I have noticed that with more tabs, I mostly have to click more that once a a clickable component, before it activates. It is like the first time I click it, after switching tab, it's only refreshing the screen. a second click usually activates the function.

Regards
Soren

Print this item

  New property ServerController.SessionOptions.AllowSearchEngines
Posted by: JuergenS - 08-21-2019, 06:51 AM - Forum: IntraWeb General Discussion - Replies (17)

Hi,

I already use my own installed content handler for search engines along with the options
ServerController.SearchEngineOptions->RedirectToContentHandler and
ServerController.SearchEngineOptions->ContentHandlerPath.

Will that still work if I set ServerController.SessionOptions.AllowSearchEngines = false ?

What is the content of the build-in robots.txt file and where it will be located ?

Regards
JuergenS

Print this item

  IWLocker How To?
Posted by: ShaneStump - 08-20-2019, 07:26 PM - Forum: IntraWeb General Discussion - Replies (1)

Howdy All!

I have some places where I need to lock the form and so I have functions that basically implement the following (c++):

void ActivateFormLock(void)
{
  UnicodeString strJS = L"ActivateLock();";

  // Add java script to be executed!
  WebApplication->CallBackResponse->AddJavaScriptToExecute(strJS);
}


void ReleaseFormLock(void)
{
  // Javascript to lock form
  UnicodeString strJS = L"ReleaseLock();";

  // Add java script to be executed!
  WebApplication->CallBackResponse->AddJavaScriptToExecute(strJS);
}

The problem is the IWLocker isn't activated. What am I doing WRONG?

Thanks in advance,

Shane

Print this item

  IW 15.1.x error in TIWImageButton
Posted by: aimpera - 08-20-2019, 03:53 PM - Forum: IntraWeb General Discussion - Replies (3)

Hi,

I noticed a strange behavior
in Intraweb 15.1.x when I click on a TIWImageButton with no events defined, the browser does a submit event (a refresh).
Using a previous version (I tested iw 15.0.21) clicking does nothing, as expected.

What's wrong?
(To reproduce It's sufficient to put a TIWImageButton  in a empty form and compile with IW 15.0.x and 15.1.x)

Best Regards, Alfredo

Print this item

  Are old blog posts still accessible somewhere
Posted by: jeroen.rottink - 08-19-2019, 09:23 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi,

In my documentation of converting an IW10 application to IW14 I came accross a lot of references to the old atozed/intraweb blog.
Links like http://www.atozed.com/intraweb/blog/20091102.en.aspx and http://www.atozed.com/intraweb/blog/20140508.EN.aspx. Are these blogs under another link still accessible?


Found it via http://web.archive.org

http://web.archive.org/web/2016080307484...08.EN.aspx

Print this item