| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 48
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Mikhael
06-18-2026, 04:58 PM
» Replies: 4
» Views: 598
|
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,256
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
06-04-2026, 09:14 AM
» Replies: 3
» Views: 462
|
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 509
|
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: geraldtatum
06-02-2026, 06:24 AM
» Replies: 1
» Views: 407
|
weakpackageunit contains ...
Forum: IntraWeb General Discussion
Last Post: rlebeau
05-26-2026, 04:56 PM
» Replies: 4
» Views: 514
|
Custom 404 handler
Forum: IntraWeb General Discussion
Last Post: CfawesDwale
05-21-2026, 08:02 AM
» Replies: 0
» Views: 245
|
PopUp Menu
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 04:35 AM
» Replies: 4
» Views: 8,196
|
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,114
|
|
|
| Web Cache (JavaScript, PNG,...) |
|
Posted by: s.noel - 05-28-2025, 09:37 AM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hi everyone,
I'm using IntraWeb 15.2.25, and in my project, I would like to serve static files through browser caching.
I added four files in the HTMLHeaders of my IW ServerController (2 JavaScript files and 2 images).
First, I would like to know if this step alone is enough for browsers to cache the referenced files directly.
If not, I understand that it is necessary to use the IWServerControllerBaseBeforeDispatch method to handle static files we want to cache (specifying Cache-Control, expiration time, etc.).
Are these two approaches complementary? As I understand it, the first allows injecting code into the HTML header, while the second intercepts requests and customizes the HTTP response?
Thanks in advance for your help, simple examples would be very much appreciated.
Best regards,
Sébastien NOËL
Delphi Developer
|
|
|
| TIWIPGeolocationClient::Execute() always false |
|
Posted by: JuergenS - 05-24-2025, 09:59 AM - Forum: IntraWeb General Discussion
- Replies (9)
|
 |
Hi, i have a problem with TIWIPGeolocationClient:
RAD C++ Builder 12 Update 3 (with May Patch)
InternetDirect(Indy) 10.6.2.0
IntraWeb 16.0.10
My Intraweb application 32/64 bit
TIWIPGeolocationClient:
TIPGeoApiInterface(apiIpApiCo, apiIpAPI)
TIWIPGeolocationClient::Execute() returns always false
I found that IPGeoApiInterface::Execute() always return false for the used geo interfaces.
The same software is running with RAD C++ Builder 12.2 and IntraWeb 15.6.7 without any problems for 32/64 bit.
Regards Juergen
|
|
|
| AddRootHandler doesn't work in IW 16. |
|
Posted by: freshslo - 05-15-2025, 11:45 AM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hello,
Why in IW16 doesn't work any more AddRootHandler??? It just closes the application when reach to this point.
procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
var FormHandler: TContentForm;
begin
Self.RewriteURL := '/';
TIWMimeTypes.RegisterType('.html', MIME_HTML, True);
RegisterContentType('application/json');
FormHandler := TContentForm.Create(TIWMainform);
FormHandler.CanStartSession := true;
FormHandler.RequiresSessionStart := true;
THandlers.AddRootHandler('', '/', FormHandler);
FormHandler := TContentForm.Create(TIWCheckout);
FormHandler.CanStartSession := false;
FormHandler.RequiresSessionStart := false;
THandlers.Add('', '/checkout', FormHandler);
|
|
|
| Can't use components on mainform from usersession |
|
Posted by: freshslo - 04-22-2025, 11:32 AM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hello,
Why I can't use components which are on IWMainform from usersession unit?
I have IWMainform which is mainfrm.pas and mainfrm.dfm. Then I place IWLabel on IWMainform.
Then I open Usersession unit and I create procedure:
uses mainfrm;
Procedure IWUsersession.BLA;
begin
IWMainform.IWLabel1.caption:='blabla'; <<< Here i got error Undeclared identifier 'IWMainform' ??
end;
I use latest version 16.0.9
|
|
|
| OAuth Callback URI for IntraWeb 15 Stand‑Alone (SA) – confirmation needed |
|
Posted by: giorgio_c - 04-21-2025, 03:33 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hi everyone,
I’m integrating the new OAuth engine in IntraWeb 15 into a stand‑alone application that runs locally at http://localhost:8888.
I couldn’t find the required redirect/callback URI in either the shipped OAuth demo or the official documentation.
After a fair bit of digging — and with the help of a couple of LLMs — I arrived at this URI: http://localhost:8888/$/oauth/v2
Before I proceed, could someone please confirm that this is indeed the correct endpoint for SA (Indy) deployments?
Also, if I later switch to ISAPI/http.sys, am I right in thinking the URI would simply include the DLL name, e.g.
Code: https://mysite.com/MyApp.dll/$/oauth/v2
?
Suggestion: Given how crucial this information is, it would be great to have it clearly stated in the docs and/or demo comments. I wasn’t able to locate it there and only surfaced it after quite a bit of trial‑and‑error.
Thanks in advance for the clarification!
After attempt I successfully can run the demo using: http://localhost:8888/$/oauth/v2
|
|
|
| Problem with https |
|
Posted by: Stéphane Aquilina - 04-18-2025, 03:44 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hello,
I'm using Intraweb 15.2.26.
I'm trying to switch my Intraweb project to HTTPS.
To do this, I'm following the instructions in the IndyHttpsDemo project step by step.
When I send an HTTPS request to my modified site, I get the following message:
"Timeout exceeded.
The server at 127.0.0.1 is taking too long to respond.
The site may be temporarily unavailable or overloaded. Try again later.
If you can't browse any sites, check your computer's network connection.
If your computer or network is behind a firewall or proxy, make sure Firefox is allowed to access the web."
Do you know what could be causing the problem?
Thanks, Stéphane
|
|
|
|