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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 100,847
» Latest member: orspeechwertrea1975
» Forum threads: 2,428
» Forum posts: 11,377

Full Statistics

Online Users
There are currently 1030 online users.
» 1 Member(s) | 1025 Guest(s)
Applebot, Baidu, Bing, Google, officialnorthtexas

Latest Threads
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
1 hour ago
» Replies: 1
» Views: 40
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
1 hour ago
» Replies: 1
» Views: 9
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 472
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 529
How can I get started? Do...
Forum: CrossTalk General Discussion
Last Post: taggame
09-17-2026, 03:17 AM
» Replies: 2
» Views: 4,291
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 372
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 744
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 435
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 951
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 398

 
  add parameters to button's POST request
Posted by: iwuser - 04-17-2023, 04:02 PM - Forum: IntraWeb General Discussion - Replies (8)

I have a case, where my App under IIS is accessed with a parameter passed in the URL, does some processing, sets session timeout to 20min and waits for user input. But when the user makes selection and clicks on the button, the server seemingly starts a new session that no longer has that initial parameter and so the user needs to start all over.

I'm not exactly sure when this first started, but it has been there for a while now. It happens in about 25-75% of runs, not every time, sometimes both the session and the parameter are preserved. IW logs nothing, so I cannot troubleshoot it.

I can see that IIS starts a new process and loads the DLL anew, so there must be something that's crashing it, I was just unable to figure out what so far.

So, I'm trying to figure out a process that would allow me to set that parameter somewhere in the button, so when the user finally clicks it, it would pass it on in some way, even if that's going to create a new session.

I've tried setting this parameter in the button's ExtraTagParams, but as IW is starting a new session, it gets lost. I think I need to be able to add this parameter on the URL generated by the button click - that should do the trick. Is there any way to do this?

Ans also, is there any way to get more logs to see why the IIS is restarting the process? - there's nothing in the Event Viewer and nothing in the

Print this item

  IWCheckBox
Posted by: Lorbass - 04-17-2023, 10:48 AM - Forum: IntraWeb General Discussion - Replies (11)

Thanks for implementing the new styles in the IWCheckBox.

However, clicking on the box has no visible effect.
Something wrong on my side?


A second point:
When using ServerController.Theme = iw-cool, the readability of the button label is very poor.

Find attached a simple test case and thanks for feedback



Attached Files
.zip   TST.zip (Size: 54.3 KB / Downloads: 6)
Print this item

  IWServerControllerBaseBeforeNewSession
Posted by: Lorbass - 04-17-2023, 09:54 AM - Forum: IntraWeb General Discussion - Replies (9)

At this point (IWServerControllerBaseBeforeNewSession) it would be interesting to prevent a response of the server.

In other words: The server does not respond and is therefore "invisible".

Can this be implemented? Or is there an adequate possibility somewhere else?

Thanks in advance for a reply on this!

Print this item

  New IW 15.3.2 has been released!
Posted by: Alexandre Machado - 04-17-2023, 08:54 AM - Forum: IntraWeb General Discussion - Replies (3)

Hi guys,

there is a new build available which fixes a small but critical thing and also brings some new exciting stuff:

https://www.atozed.com/2023/04/intraweb-15-3-2/

Enjoy!  Big Grin

Print this item

  New Http client classes
Posted by: Alexandre Machado - 04-16-2023, 11:01 PM - Forum: IntraWeb General Discussion - Replies (1)

In the next update (15.3.2) we are also including new and refactored Http client classes that are being used for all client communication from IW core classes:

- IWTelegram
- IWIPGeolocationClient
- IWOAuth
- IWReCaptcha

all these controls/classes need to establish communication with the API server via HTTP (mostly REST calls) in order to work properly. 

We currently have a TIWHttpClient which is based on Indy. Indy is a solid framework for HTTP communication and works everywhere and we will continue to use it. This class has been renamed to TIWIndyHttpClient in new IW 15.3.2 (not yet released). A new class has been introduced, the TIWWinHttpClient, which is based on Windows WinHttp API. WinHttp is not available in older versions of Windows, but it can be used in all newer versions. WinHttp relies on Windows services itself to provide secure HTTPS. On the other hand, Indy relies on OpenSSL, so OpenSSL  DLLs will likely need to to be deployed with your application, if using any of those controls/classes listed above with Indy-based client. This is not always desirable, that's why we are creating this new option. The new TIWWinHttpClient class will be available in all IW supported platforms, including Delphi 2009/2010/XE (they don't have the WinApi.WinHttp.pas which was released only in XE2).

ServerController will have 1 new property named HttpClientClass which can be set to WinHttpClient (default) and IndyHttpClient. Setting this property will control how IntraWeb core will handle the HTTP client communication for all those controls.

You can also use the same client classes to handle your own needs regarding Http client communication, instead of relying on 3rd party code, which simplifies the application code and maintenance. 

Stay tuned!  Big Grin

Print this item

  IWReCaptcha demo
Posted by: Alexandre Machado - 04-16-2023, 10:47 PM - Forum: IntraWeb General Discussion - No Replies

Hi guys,

I've also published another demo yesterday showing how to use the IW ReCaptcha control. The control is not new and I was sure that the demo had been published/committed to our github repository, but I couldn't find it, so seems that somehow it had been not.... So here it is:

https://github.com/Atozed/IntraWeb/tree/.../Recaptcha

Enjoy!  Big Grin

Print this item

  New IW oAuth 2.0 demo
Posted by: Alexandre Machado - 04-16-2023, 10:02 PM - Forum: IntraWeb General Discussion - No Replies

Here's the new demo showing everything that you need to use this new OAuth 2.0 feature in IntraWeb:

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

The instructions on how to create and register the application are all there in the main form. Also check the ServerController's code.

You also need OpenSSL DLLs to run this demo (after creating your applications on Google and Azure). In the next update we are also including the possibility to use WinHttp to handle all the communication, so you don't need to deploy the OpenSSL DLLs, if you wish.

Enjoy!  Big Grin

Print this item

  AV IWCombobox
Posted by: raulevm - 04-16-2023, 05:40 PM - Forum: IntraWeb General Discussion - Replies (1)

Does anyone get an AV when entering items in an iwcombobox with IW15.3.1 and Delphi 11.3?. I restart the IDE or the PC and the problem continues.

Print this item

  Built-in support for Microsoft Azure and Google OAuth authentication APIs
Posted by: swiatex - 04-16-2023, 05:38 PM - Forum: IntraWeb General Discussion - Replies (2)

Dear,
Could somebody clarify new option set?

  • Built-in support for Microsoft Azure and Google OAuth authentication APIs. Add Google or Microsoft login to your applications in 5 minutes!
Best regards!

Print this item

  After timeout refresh page
Posted by: matija - 04-14-2023, 05:53 AM - Forum: IntraWeb General Discussion - Replies (5)

I have sessiontimeout setting 5 min. After not beautiful message 500 ...

Can you replace with html template which contain link to refresh page?

Print this item