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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 105,067
» Latest member: pg99health
» Forum threads: 2,433
» Forum posts: 11,393

Full Statistics

Online Users
There are currently 2174 online users.
» 6 Member(s) | 2165 Guest(s)
Applebot, Bing, Google, 33win68casino1, 3jl3jlph, bet88gbcom, dagablvtv, g88comcom, pg99health

Latest Threads
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
Yesterday, 09:24 PM
» Replies: 3
» Views: 213
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
Yesterday, 06:12 PM
» Replies: 0
» Views: 29
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
Yesterday, 05:21 PM
» Replies: 0
» Views: 29
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 413
Help with TIWPaintBox
Forum: IntraWeb General Discussion
Last Post: EmoPal
10-13-2026, 08:44 AM
» Replies: 0
» Views: 227
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-06-2026, 09:31 PM
» Replies: 6
» Views: 1,152
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
10-02-2026, 04:14 PM
» Replies: 1
» Views: 746
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 432
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 781
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 913

 
  jQGrid column formatter
Posted by: Comograma - 12-06-2021, 04:18 PM - Forum: IntraWeb General Discussion - Replies (1)

How can I add a column formatter to a IWjQDBGrid component?
Is it possible?

I want that when it encounters a # on a column, it will add a line break (<br>).
How can I accomplish this?

Print this item

  IWjQGrid column 2 lines
Posted by: Comograma - 12-02-2021, 10:52 AM - Forum: IntraWeb General Discussion - Replies (2)

Is it possible to present a column with 2 lines or more (wordwrap kind) on a IWjQDBGrid?
On a small width display, some strings columns are to big and they will "sacrifice" other columns that aren't so big.
Is there a way do do this?
On a IWDBGrid, we just set wordwrap property for a column to true and it will present the content in 2 or more lines.

Print this item

  IWRegion and IWTabControl css property
Posted by: raulevm - 12-01-2021, 05:06 PM - Forum: IntraWeb General Discussion - Replies (3)

I work in the maintenance of a fairly large but very old application, it works great and I try to update it by adding css styles but it makes it difficult for me that the IWRegion and IWTabControl components do not have a CSS property. At the moment I cannot use templates due to a matter of time, I only need to share the same styles by file for several IWRegion and IWTabControl. Will it be possible to create the CSS property in these components? Is there an impediment to that?, thanks

Print this item

  Bootstrap and C++
Posted by: kpenzkofer - 12-01-2021, 04:03 PM - Forum: IntraWeb General Discussion - Replies (5)

When I will use a Bootstrap component, I will get an linker error "JSONDATAOBJECTS.OBJ is not found".
In Delphi it works without any problems. (tested with 15.2.47)
What did I miss?

I haven't used any Bootstrap components yet.
Is there anything else I have to consider?

Print this item

  IntraWeb 15.2.48 is out!
Posted by: Alexandre Machado - 12-01-2021, 08:14 AM - Forum: IntraWeb General Discussion - No Replies

Hi guys,

a new update containing a couple of critical fixes is available now.

https://www.atozed.com/2021/12/intraweb-15-2-48/

Enjoy!  Big Grin

Print this item

  Http.sys questions
Posted by: magosk - 11-30-2021, 03:52 PM - Forum: IntraWeb General Discussion - Replies (22)

Hi! I have started experimenting with converting some existing web applications to http.sys and have some questions. Before I state them I want to explain what I want to accomplish, in case I am looking in the wrong direction (maybe there is a totally different approach?) and/or asking the wrong questions.

We have 6 services accessible via https running on the same server. Three of them are IntraWeb standalone web applications, two are RemObjects servers (built with Delphi), and one is a .NET REST service. The five Delphi services share the same SSL certificate *.pem files and use Indy / OpenSSL 1.0.2. For the the .NET service we have imported the same certificate (in pfx format) into Windows and it has a binding for it to the port it listens on. IIS is NOT used. All the 6 services listen on different ports. Externally however, the services are all accessed on the standard SSL port (443). This is accomplished by DNS records for different URLs (such as www.mydomain.com, m.mydomain.com, api.mydomain.com...) pointing to different (external) IP addresses on our site, and then a firewall redirecting the https traffic (on port 443) for these IPs to the different ports used internally on our server. While this works fine technically, we are wasting IP addresses with this approach, and when we now expand the server site with more servers and services we are running out of them. 

So my idea was to try to use http.sys for at least the three IW applications so that they use the same port, but using e.g. mydomain.com/m/ rather than m.mydomain.com for our mobile friendly web application as an example. Another reason for looking at http.sys is that we are living on borrowed time with OpenSSL 1.0.2, and Indy support for newer OpenSSL versions still does not seem completed(?). So before answering my specific questions below, first please comment on if you think my idea with http.sys is good or if you know of some completely different approach that would accomplish the same thing.
  
1. When searching I found https://doc.atozed.com/en/iw15/develop/c...-intraweb/ and https://blog.boxofbolts.com/ssl/windows/...d-windows/ (not IntraWeb-specific). Are there some other good resources to look at (e.g. specific info on using multiple IntraWeb http.sys services with SSL)?
2. Is it possible that the main web application can be used with an empty UrlBase (but where the other two web applications have different, non-empty BaseUrl values)? If so, how do you set that up?
3. When doing some initial tests (locally, without https) I successfully got two of the web applications running (with two different BaseUrl values) on the same port. When I shutdown the applications I got loads of exceptions (access violations, invalid pointer operations) in the ServerController.OnDestroy handler (where we finalize various globally used resources), that I don't get when running it with Indy. It worked slightly better when run as a service, but there was still an access violation when freeing a data module (and it was not possible to get a call stack). Can you say anything general on these shutdown issues when running with http.sys?
4. When using a non-empty BaseUrl, I noticed various issues with (static) logout and session timeout pages (both having an <a href="/">Click here to login again.</a> element). Before diving in to details, is there anything in general I should know about when using non-empty BaseUrl (with relation to static pages)?
5. Do you think it is possible to use http.sys (and the same port) for the three other (non-IntraWeb) services as well?

Note: We are currently using IW 15.1.5 in production. Unless there are major restructures to how you use http.sys in 15.2.X, I would like to keep migration to the latest IW versions as a separate project.

Best regards

Magnus Oskarsson

Print this item

  IWAppFormProcessParams
Posted by: Lorbass - 11-30-2021, 03:04 PM - Forum: IntraWeb General Discussion - Replies (1)

Hello,

when exactly does IWAppFormProcessParams fire?

procedure TFormA.ButtonAsyncClick (Sender: TObject; EventParams: TStringList);
var
  F: TIWAppForm;
begin
  F:=TFormB.Create(WebApplication);
  F.Params.Add('AName'+F.Params.NameValueSeparator+'AValue');
  F.Show;
end;

In Form B neither IWAppFormProcessParams fires, nor are the parameters available in IWAppFormRender:

procedure TFormB.IWAppFormRender(Sender: TObject)
var
  S: string;
begin
   S:=Self.Params.Values['AName']; (* returns an empty string *)
end;

Thanks for quick reply!

Print this item

  Intraweb instantly 'crashes' when above 340 users
Posted by: AtozedJunky - 11-30-2021, 12:30 PM - Forum: IntraWeb General Discussion - Replies (8)

We have an Intraweb 14.2.9 web application running for our customers, that that works smooth and very fast.

However, when we reach a critical amount of 340 sessions, the intraweb application instantly 'crashes' (response becomes too slow to even show the logon page). Logged on users can work for a little while, new users are directly unable to logon. There is no build up in slowness, it just instantly happens as soon as we reach the user amount.

This takes every time about 15 minutes to automatically resolve and returns back to normal, after which users can logon again and all is as fast as prior to the ordeal.
Due to less users, during weekends this never happens...on peak days it happens multiple times per day.

We did a lot of research on the complete infrastructure and architecture, and we tried several different solutions, but non seems to resolve the underlying issue.
We are now 100% sure that the issue is within the intraweb web application itself. We have multiple applications (mobile apps, web applications, windows applications) connected to the database, including an exact copy of the project with less users, and they all remain to work fine when this crash happens.

Last night we added 8 extra cpu's to the database server, just to see if we would go over the 340 sessions. It did not, it happens every time for 15 minutes.

Before we run into technical details, is this behavior something someone recognizes? Any clues on where to dig? We are running out of options, so any input would be welcome.

Thanks a lot!

Print this item

  TIWjQDBGrid hide column
Posted by: Comograma - 11-30-2021, 11:37 AM - Forum: IntraWeb General Discussion - Replies (2)

How can I hide/show a column on a TIWjQDBGrid at runtime ?

Print this item

  Release form AV
Posted by: Comograma - 11-30-2021, 11:28 AM - Forum: IntraWeb General Discussion - Replies (2)

After v15.2.42, when releasing a form with Release, it begun to raise an AV.
Am I missing something? Just installed newer version and compile.

Analysing debuger, it gives the AV on call TIWBaseContainer.Destroy

From version history:
15.2.43 Version History
BY ALEXANDRE MACHADO
NOVEMBER 12, 2021
INTRAWEB HISTORY 15.2, UNCATEGORIZED
Bug fixes
* Fixes rare AV when creating and destroying components at runtime owned by IWContainers

This didn't happen to me until this version.
Something went wrong here.
Can you see it, Alexandre??!!!!!!!!!!!

Print this item