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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 105,123
» Latest member: bj88casino
» Forum threads: 2,433
» Forum posts: 11,393

Full Statistics

Online Users
There are currently 2023 online users.
» 1 Member(s) | 2019 Guest(s)
Applebot, Bing, Google, okvipuscom

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

 
Bug Indy documentation doen't available
Posted by: -zio3d- - 12-02-2022, 10:06 AM - Forum: Indy - Replies (2)

I point out that on the documentation page "https://www.indyproject.org/documentation/" the download links do not work, for example "http://ww2.indyproject.org/downloads/IndyDocs_10.1.5.0_HtmlHelp.7z" (DNS_PROBE_FINISHED_NXDOMAIN).

Am I doing something wrong?
Thanks

Print this item

  listening for windows messages in HttpSys service
Posted by: iwuser - 12-02-2022, 03:16 AM - Forum: IntraWeb General Discussion - No Replies

I've just realised that in HttpSys services, there are no Applications, and no Windows forms, therefore no way to listen for any windows messages. There are even no TService descendants.

Has anybody else run into this? What did you do?

Print this item

  IW15: Access violation when access public declared variable in UserSession
Posted by: mhammady - 11-30-2022, 03:26 AM - Forum: IntraWeb General Discussion - No Replies

Hi,

I have many variables declared as public variables in the UserSession. It is used to keep session-specific variables. They can be accessed fine within the UserSession unit, other procedures and functions can be accessed as well, but I'm getting an "Access violation" when trying to read any of these variables from another unit.

This was working fine in IW14, but not after migration to IW15

Any idea what is going wrong here?

Thank you

Print this item

  Intraweb using HTTPS
Posted by: robhercarloz - 11-29-2022, 09:35 PM - Forum: IntraWeb General Discussion - No Replies

I've recently purchased the ultimate version of intraweb 15 to be able to use the HTTPS feature, but have not been able to successfully get it to work. I have tried doing what the StandAloneSSL Demo has done but still no luck. The error message that I get is "EidOSSLLoadingCertError with message 'Could not load certificate. error: 00000000:lib(0):func(0):reason(0)'." 

- I have my 3 PEM files(cert.pem, root.pem, key.pem) and my 2 SLL .dll files(libeay32.dll, ssleay32.dll) in the same directory as my .exe file.
- I have set the SSL PORT in ServerController properties to 443
- I have set ConnectionMode to cmSecure in Main.dfm file(The only page for my site).

And still nothing. Could Someone please help me with step-by-step instructions on how to correctly implement the usage of https instead of http.

Thank you! All the help I can get is really appreciated.

Print this item

  Get active sessions list IW15
Posted by: mhammady - 11-29-2022, 08:26 PM - Forum: IntraWeb General Discussion - Replies (1)

I recently upgraded to IW15.2.65

What is the proper way to get a list of the active sessions?

In IW14.x the following code was OK, but the GSession is not the same in IW15

Code:
  LSessions:=GSessions.LockList;
  try
    for i := 0 to (LSessions.Count-1) do
      begin
        LSession:=LSessions[i];
        LSession.Lock;
        try
          Result := Result + '|' + TIWUserSession(LSession.Data).gSessionID;
        finally
          LSession.Unlock;
          LSession:=nil;
        end;
      end;
  finally
    GSessions.UnLockList(LSessions);
  end;

Print this item

  IWAppFormResize not updating properties
Posted by: Lenfors - 11-29-2022, 02:31 PM - Forum: IntraWeb General Discussion - No Replies

Hello!

I put a TIWButton on a form. In the IWAppFormResize event I execute:

Procedure TScreenInterfaceForm.IWAppFormResize(Sender: TObject);
Begin
   IWButton13.Caption := FormatDateTime('hh:nnConfuseds', Now);
End;


When I'm resizing the form nothing changes on the button even as I can see that the event is executed!? 

But if I add a click event to the button and execute the same code it is updated.

procedure TScreenInterfaceForm.IWButton13Click(Sender: TObject);
begin
IWButton13.Caption := FormatDateTime('hh:nnConfuseds', Now);
end;


Whats the difference? Why does changed to properties not reflect on screen? Do I have to invalidate or refresh for changes to be sent to screen?

Best regards, Mikael


I also tried to solve this with a timer:

Procedure TScreenInterfaceForm.IWAppFormResize(Sender: TObject);
Begin
   IWTimer1.Enabled := True;
End;

procedure TScreenInterfaceForm.IWTimer1Timer(Sender: TObject);
begin
   IWTimer1.Enabled := False;
   IWButton13.Caption := FormatDateTime('hh:nnConfuseds', Now);
end;

The strange thing is that  "IWTimer1.Enabled := True;"  is executed, but the timer event never fires!?

Why? I'm so fustrated over IntraWeb.....

Best regards, Mikael

Print this item

  TIWTabControl TabHeight, TabPadding and TabRowHeight
Posted by: Lenfors - 11-29-2022, 01:39 PM - Forum: IntraWeb General Discussion - No Replies

Hello!

Having problems to figure out the relation between TabHeight, TabPadding and TabRowHeight in the TIWTabControl.

I want to set the TIWTabControl.ActiveTabFont.Size to soething dependent of my current scereen size, Eg. 16.
I figured out setting the TIWTabControl.TabPadding to (ActiveTabFont.Size Div 4) looks nice.
Then I set TIWTabControl.TabHeight to Round(ActiveTabFont.Size * 1.5) 

The problem is, how do I now calculate a value for TIWTabControl.TabRowHeight? There must be some relation between these parameters!

 Best regards, Mikael

Print this item

  Height of TIwFont in pixels
Posted by: Lenfors - 11-29-2022, 01:28 PM - Forum: IntraWeb General Discussion - No Replies

Hello!

Having problem to get the Height in pixels of a TIwFont.

There is a property Size, Eg. 12 and another property PxSize Eg. 16. 
They are interconnected so when changing one the other one also changes.
But I assume the PxSize is the with (x) in pixels? How do I get the Height (y) in pixels?

Best regards, Mikael

Print this item

  IWURL No cache
Posted by: davidmcevoy@outlook.com - 11-29-2022, 10:27 AM - Forum: IntraWeb General Discussion - No Replies

Hello, in process of updating an old app from IW9 to IW15 and I have a function that creates a pdf and just uses the session id for the file name put into the IWURL, this same file will be repeatedly updated when requesting pdf's using the same name and then deleted once the session has expired.

This worked well in IW9 but I had used the /filesnc flag so that the hyperlink didn't get cached.  In IW15 I had to change this to just /files to get it to work and it does, but in Edge it is caching the URL and only displaying the same file over and over again, despite the fact that the original file has indeed been updated to the content now required.  The files are being generated in wwwroot/files.

Is there an option in IW15 to make a IWRL not cache like it used to be or do I need to play around with IW Cache?  I can get this to work by removing the hyperlink and doing an onclick event on an IWImage that does a sendfile, this will work, but not the way I had originally intended to use it.

I think I might have to move the pdf from wwwroot/files to app path/files and the filesnc will work, but this again is not what I want to do as it would mean having to copy the file every time a link is clicked which is not the best option.

Any suggestions on how to make the IWURL not cache the file in all browsers?

Thanks
Daivd.

Print this item

  TIWjqDBGrid cell-edit fails behind reverse proxy
Posted by: oystein.jakobsen@sas.no - 11-28-2022, 08:26 PM - Forum: IntraWeb General Discussion - No Replies

TIWjqDBGrid DoOnEditCell fails behind reverse proxy. 


Looks like registered callback url fails to include reverse proxy prefix.

Quick fix?



Attached Files Thumbnail(s)
   
Print this item