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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,111
» Latest member: abigailredford
» Forum threads: 2,426
» Forum posts: 11,370

Full Statistics

Online Users
There are currently 886 online users.
» 1 Member(s) | 882 Guest(s)
Applebot, Bing, Google, abigailredford

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 03:02 AM
» Replies: 0
» Views: 79
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 77
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 90
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 350
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 180
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 529
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 173
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,078
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 306
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 871

 
  New IWCertificateManager is available
Posted by: Alexandre Machado - 06-02-2023, 11:42 PM - Forum: IntraWeb General Discussion - No Replies

Hi guys,

there is a new version of IWCertificateManager available: 

It will be included in the next IW release as usual, but you can already download it, especially if you are having issues while binding a certificate:

https://www.atozed.com/intraweb/certmanager/


Enjoy  Big Grin

Print this item

  Auto-start a new session from ServerController
Posted by: zsleo - 06-01-2023, 05:50 AM - Forum: IntraWeb General Discussion - Replies (6)

I want to auto-start a new session from ServerController that does not have a user interface.

Is there a better way of starting the session other than by calling the URL with the required parameters?

TIA

Print this item

  SendFile inside a TIWCallbackProc3
Posted by: giorgio_c - 05-30-2023, 03:47 PM - Forum: IntraWeb General Discussion - Replies (2)

How can I have a WebApplication.SendFile(..) response into the TIWCallbackProc3 = reference to procedure (aParams: TStrings; out aResult: string; out aHandled: Boolean) callback?

I test for the request.
In some cases, I only have to assign aResult.
But in others, I have to run a download attachment.
The IW command is WebApplication.SendFile() / SendStream().
I assigned aHandled := true but I get "Uninitialized response" and no download starts.
So I added WebApplication.Response.Code := 200 so the error messages do not appears anymore, but no download starts.
Thank you.

Print this item

  TBeforeExecuteHandler definition
Posted by: giorgio_c - 05-26-2023, 09:23 PM - Forum: IntraWeb General Discussion - Replies (2)

Hello, I cannot find anywhere the TBeforeExecuteHandlerProc definition.
I'm trying to use the TContentForm.Create(aFormClass: TIWAppFormClass; DoBeforeExecuteCallback: TBeforeExecuteHandlerProc = nil); reintroduce; overload;
I guess if I can use the DoBeforeExecuteCallback in order to invoke an action immediately after my TContentForm is created. I can use a different approach for my needs of course, but I would like to examine the TContentForm.Create methods in depth.
Thank you

Print this item

  IWRadioGroup to HTML
Posted by: matija - 05-25-2023, 09:08 AM - Forum: IntraWeb General Discussion - No Replies

How IWRadioGroup translate to input in HTML Bootstrap template

Name of IWRadioGroup is eLang with two options

Now in HTML template define {%eLang%}

I woudl work: 

<input type="radio" id="radio-one" name="ELANG" value="yes" checked/>
<label for="radio-one">English</label>
<input type="radio" id="radio-two" name="ELANG" value="no" />
<label for="radio-two">German</label>

Print this item

  connecting to a JavaScript scanner project
Posted by: Сергей Александрович - 05-25-2023, 02:33 AM - Forum: IntraWeb General Discussion - Replies (1)

Good afternoon! I have no experience with JS.

I need to connect a QR code scanner to my project. (https://github.com/nimiq/qr-scanner)

I copied the files to my project directory
/js/qr-scanner.min.js
/js/qr-scanner-worker.min.js

and added to ContentFiles
/js/qr-scanner.min.js
/js/qr-scanner-worker.min.js


As far as I understand, this is how I connected the scanner to my project.

How to do this in IW ?

Print this item

  Set property to auto (Priority support)
Posted by: valmeras - 05-19-2023, 07:39 PM - Forum: IntraWeb General Discussion - Replies (1)

I am using C++ Builder 10.2.3 with Intraweb 15.3.6
Is there a way to set the width or the height of a component to 'auto'?
Even with components like TIWImage which has autosize property, I would like to be able to set one property fixed and the other one auto?

Print this item

  IW 15.3.6 & C++Builder 11.3
Posted by: StephanM - 05-19-2023, 03:33 PM - Forum: IntraWeb General Discussion - Replies (2)

I just upgraded to C++Builder 11.3. 
Got the latest IW 15.3.6 and installed it. No problem during install, but C++Builder won't load it when launching!
Error:
  Can't load C:\Users\smahaux\Documents\Embarcadero\Studio\22.0\Bpl\dclIntraweb_15_D11.bpl
  The specified module could not be found.
  Do you want to attempt to load this package next time?

BUT, when I look in that folder the BPL is there!

So I don't know what to do about it. Any advice?


UPDATE: I moved the dclIntraweb_15_D11.bpl to a public documents folder, and now it can load.
C:\Users\PUBLIC\Documents\Embarcadero\Studio\22.0\Bpl\dclIntraweb_15_D11.bpl

I hope that'll help someone else.

Print this item

  New OAuth demo
Posted by: Alexandre Machado - 05-18-2023, 08:41 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi guys,

Following version 15.3.6 release, we took some time to create a comprehensive demo showing some of the OAuth features:

https://github.com/Atozed/IntraWeb/tree/...lphi/OAuth

This demo shows:

1) How to obtain the access token from one of the supported APIs (Google, MS Azure, Facebook)
2) How to save this information to the databased and how to use it to validate subsequent visits from the same user
3) How to create a browser side token (linked to the access token) and use it as a cookie to identify returning users
4) How to refresh/revalidate the access token

You will find a bit of code and information in the UserSessionUnit.pas unit file.

Remember that the demo won't work straight away if you just download and run it, because each IntraWeb application needs to use it's own Google/Azure/Facebook credentials, meaning that the IW developer needs to create and register an application with one or more of the supported APIs and use that information when configuring your IW application. See the instructions on the main form of the application and also check the code in ServerController.

Hope you guys find it useful.  Big Grin

PS: This demo requires version 15.3.6 (or later): https://www.atozed.com/2023/05/intraweb-15-3-6/

Print this item

  How to change the value on the fly?
Posted by: baxing - 05-18-2023, 06:14 AM - Forum: IntraWeb General Discussion - Replies (4)

Hello,

Is there a way? If when done use the command JavaScript (may be calling a JS function or changing a variable in JS) with Dephi and let that command run. without having to wait for the end of that Event

I would like to expand on the above message as follows. :

Because of that from which I tested for example
Inside the event of IWBTN1AsyncClick
I have a loop, or a Delphi subcommand loop, to do something. And in the meantime I want to change JS variable values or call JS functions with Delphi.
Let me give you a simple example:


Code:
for I := 0 to 100 do
begin
  for J:= 0 to 10000000 do
  //--DO something
  begin
  end;
  //-- Call JS function to update progress value :
  WebApplication.CallBackResponse.AddJavaScriptToExecute('UpdateProgress("Processing..", "' + I.tostring +'");');
  // WebApplication.ExecuteJS('UpdateProgress("Processing..", "' + I.tostring +'");');
  // AddToInitProc('UpdateProgress("Processing..", "' + I.tostring +'");');
  // IWBTN1.AddJavaScriptToExecute('UpdateProgress("Processing..", "' + I.tostring +'");');

  //-- or Maybe Update JS value :
  WebApplication.CallBackResponse.AddJavaScriptToExecute('MyPlVar = ' + I.tostring + ';');
  // WebApplication.ExecuteJS('MyPlVar = ' + I.tostring + ';');
  // AddToInitProc('MyPlVar = ' + I.tostring + ';');
end;

Or to give a clearer example, let's say I have a JS Plugins to display the Cricle Pregress Loader and show the value as a percentage. while some operations are in progress This will prevent the user from clicking anywhere and knowing that the process is in progress.

But the result is not what I want.
That is, the value that I want to change or the function that I want to call. It wasn't immediately called. But only to be called at the end of the event of IWBTN1 being clicked.

Please suggest me what should I do or use.


Thank you  Huh

Print this item