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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,860
» Latest member: andreas88
» Forum threads: 2,139
» Forum posts: 10,407

Full Statistics

Online Users
There are currently 326 online users.
» 6 Member(s) | 318 Guest(s)
Bing, Google, AlexFunc, andreas88, Austinkl, mariajackson, ThomasBism, wieczy

Latest Threads
Cookies with the SameSite...
Forum: IntraWeb General Discussion
Last Post: valmeras
Yesterday, 06:59 PM
» Replies: 0
» Views: 26
303 Redirect and Response...
Forum: IntraWeb General Discussion
Last Post: ALW2019
03-26-2024, 02:30 PM
» Replies: 0
» Views: 65
smmFunctions.pas
Forum: IntraWeb General Discussion
Last Post: Mikael Nilsson
03-26-2024, 10:33 AM
» Replies: 0
» Views: 69
TIWjQDBGrid paging
Forum: IntraWeb General Discussion
Last Post: troberts
03-26-2024, 04:06 AM
» Replies: 0
» Views: 89
iw15.5.10 does not addres...
Forum: IntraWeb General Discussion
Last Post: rudyPos
03-25-2024, 12:09 PM
» Replies: 0
» Views: 124
Problem with cache and 40...
Forum: IntraWeb General Discussion
Last Post: troberts
03-25-2024, 01:54 AM
» Replies: 0
» Views: 96
IWModalWindow from differ...
Forum: IntraWeb General Discussion
Last Post: bjoernb
03-24-2024, 10:52 PM
» Replies: 0
» Views: 108
jQGrid css and js files
Forum: IntraWeb General Discussion
Last Post: medzoom
03-22-2024, 07:06 PM
» Replies: 2
» Views: 2,511
iwSelect list update in a...
Forum: IntraWeb General Discussion
Last Post: joelcc
03-20-2024, 08:07 PM
» Replies: 0
» Views: 138
IntraWeb Certificate Mana...
Forum: IntraWeb General Discussion
Last Post: DavidChiq
03-19-2024, 06:27 PM
» Replies: 1
» Views: 2,083

 
  Problem with " character in IWjQDBGrid
Posted by: Lenfors - 01-25-2022, 01:13 PM - Forum: IntraWeb General Discussion - Replies (2)

Hello!

If any string in my selected data contains the character " then the IWjQDBGrid remains blank with a messagebox saying "Loading...".

Example of a string that creates the problem: <Service "Multimedia Class Scheduler" ej startad!>

Can I prevent this except from doing a string replace operation in every select statement?

Best regards, Mikael

Print this item

  Browser Language
Posted by: Michael - 01-25-2022, 07:47 AM - Forum: IntraWeb General Discussion - Replies (5)

Hello,

is there a way to read the language of the user browser?

I want to create a multilingual program, but so that you do not have to constantly choose your language, I would like to read the browser language in advance and set the language.

Thanks,
Michael

Print this item

  Let's Encrypt auto renewal process
Posted by: Fabrizio Conti - 01-24-2022, 01:08 PM - Forum: IntraWeb General Discussion - Replies (4)

I have an IW application that I recently converted from Indy to HTTPSYS and moved from a local network to the cloud for a client.
Using IWCertifcateManager and reading the very clear documentation (thanks Alexandre!) I was able to easily set up a Let’s Encrypt certificate for the application.
Everything works fine, but in the next few of weeks I need to renew the certificate.

Reading other blog posts it seems to me that my Intraweb application may be able to perform the renewal process.
But how to do that?  What is the “Enable ACME” flag intended for? Do I have to either use external tools?

I’m sure there is something trivial that I miss, but can anybody describe the step by step procedure to setup an auto renewal process for Let’s Encrypt?

Thanks in advance
Fabrizio

Print this item

  Set column width in IWjQDBGrid
Posted by: Lenfors - 01-18-2022, 10:53 AM - Forum: IntraWeb General Discussion - Replies (2)

Hello!

I'm having problems with the IWjQDBGrid. I want to set the column widths to absolute values but they keep changing depending on the width of the control.

I set the alignment of the control to alTop.
I'w set the width property of all my Columns to desired width.
I uncheck the Options.goAutoColumnWidth option.

When i then show the form all column widths are adjusted so they all fit in the grid without showing any vertical scrollbar.

I now can manually change tho column widths and if needed the vertical scrollbar appeares (nice feature).

I also cant fins any way to set the column widths programatically!? 
The option IWjQDBGrid.Columns[x].Width is not available!?

Best regards, Mikael

Print this item

  Image AsyncMouseMove
Posted by: Michael - 01-18-2022, 08:58 AM - Forum: IntraWeb General Discussion - Replies (9)

Hello,

I would like to select an operating Point from a chart (TIWImage) with the mouse.
Like in the example "TChartDemo", but not via AsyncMousedown rather via AsyncMouseMove.
This works relatively well, but when I stop the Mouse on the Image, the Point jumps to another position.

I created an Memo to show the mouseway. Attached you will find a picture that hopefully shows what I mean.

What could be the reason for the jump at the end? And how can I prevent the jump?

Thanks,
Michael



Attached Files Thumbnail(s)
   
Print this item

  Synchronize FDQuery and IWjQDBGrid
Posted by: Lenfors - 01-18-2022, 08:40 AM - Forum: IntraWeb General Discussion - Replies (2)

Hello!

How do i synchronize the dataset with the grid? I want the current record in the dataset always to be the selected row in the grid.

I want it to work both ways, if i click in the grid the dataset should select a new current row, and if I programatically change the current row in the dataset (Eg. FDQuery.Next) the grid should be updated.

I also want the grid to always show the selected row! I tried  Options = [goViewRecords, goGridView, goHoverRows, goIgnoreCase, goScroll, goSortable, goZebraStriped, goRowSelect], but if I click on a already selected row in the grid the selection disappeares.

Best regards, Mikael

Print this item

  Problems with cookies in IW15
Posted by: Per Waernborg - 01-18-2022, 08:39 AM - Forum: IntraWeb General Discussion - Replies (3)

Hi,
I have a well working application in IntraWeb 5.2.26 in Indy-mode and I uses cookies to remember login information. This works perfect for me on my computers.

But for some of my customers the "remember me"-function doesn't work. 

I have the following CookieOptions:

CookieNameSuffix: "empty"
HttpOnly: False
SameSite: ssoLax
Secure: False
SessionCookies: True
UseCookies: True 


I can't find any reason for this, it makes no sense. Any idears of what could be wrong?

Best Regards
Per

Print this item

  Get two parameter from javascript
Posted by: matija - 01-17-2022, 01:34 PM - Forum: IntraWeb General Discussion - Replies (2)

How get all parameters if you click button? My code get only first paramater!

javascript:
var index1 = 0;
var index2 = 1;

function SelectIndex1() {
  return index1.toString();   
}

function SelectIndex2() {
  return index2.toString();   
}

code:
procedure MyButtontAsyncClick ...
begin
AddToInitProc('ajaxCall("ReceiveIndex1", "&ID=" + SelectIndex1();');

  RegisterCallBack('ReceiveIndex1',
        procedure (aParams: TStrings)
        begin
            MapIndex:= StrToIntDef(aParams.Values['ID'],0);
            AddToInitProc('GetMap(' + MapIndex +')');
        end
);

AddToInitProc('ajaxCall("ReceiveIndex2", "&ID=" + SelectIndex2();');

RegisterCallBack('ReceiveIndex2',
procedure (aParams: TStrings)
begin
ListIndex:= StrToIntDef(aParams.Values['ID'],0);
AddToInitProc('GetList(' + ListIndex +')');
end
);
end;

Print this item

  Windows Server 2019 IIS Setup
Posted by: ShaneStump - 01-14-2022, 03:54 PM - Forum: IntraWeb General Discussion - Replies (5)

Howdy All!

I honestly thought I was done with these type of questions, but… the company tech worker who did all the network / configuration for my software quit and with him several points of knowledge.

Does any one have a MORON PROOF step by step guide to getting an IW ISAPI WIN32 module running under Windows Server 2019 IIS?

Thanks in advance & have a great weekend.

Shane

Print this item

  Single Server Load Balancing
Posted by: ShaneStump - 01-11-2022, 05:55 PM - Forum: IntraWeb General Discussion - Replies (5)

Howdy All!

I know this question has been asked before but I figured I would ask again in 2021 and describe my customer’s setup a little more specific.

All of my customers run their own in-house server from ~2015 or earlier (i.e. I am NOT going to be able to suggest a server farm).

My IW application runs under IIS and depending on the load, can work for weeks or just days - I have no idea if it is a low memory leak or what.

What I want to do is run a web server that would allow me to run multiple copies of my IW app on a single physical server but allow the work load to be spread.

THe suggested solution in the past has been Octagate which is no longer to be found.

Does anyone have a cheap solution (i.e. doesn’t have to be free but can’t cost a small fortune) for this scenario?

All the best,

Shane

Print this item