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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,351
» Latest member: Goaescorts01
» Forum threads: 2,154
» Forum posts: 10,484

Full Statistics

Online Users
There are currently 470 online users.
» 2 Member(s) | 464 Guest(s)
Bing, Facebook, Google, Yandex, swiatex

Latest Threads
Call TPicture.Assign in a...
Forum: IntraWeb General Discussion
Last Post: lmengyew
Yesterday, 09:48 AM
» Replies: 0
» Views: 35
Http.sys application prom...
Forum: IntraWeb General Discussion
Last Post: lmengyew
Yesterday, 08:25 AM
» Replies: 2
» Views: 729
IntraWeb Bootstrap4 - dem...
Forum: IntraWeb General Discussion
Last Post: jindrich.volek
04-25-2024, 03:16 PM
» Replies: 0
» Views: 68
Dummy div in a IWRegion
Forum: IntraWeb General Discussion
Last Post: StephB
04-24-2024, 03:58 PM
» Replies: 2
» Views: 119
Create components at runt...
Forum: IntraWeb General Discussion
Last Post: PaulWeem
04-23-2024, 10:27 PM
» Replies: 1
» Views: 132
message when added TIWDBN...
Forum: IntraWeb General Discussion
Last Post: Mike_A
04-22-2024, 02:09 PM
» Replies: 6
» Views: 1,289
303 Redirect and Response...
Forum: IntraWeb General Discussion
Last Post: ALW2019
04-22-2024, 01:25 PM
» Replies: 3
» Views: 551
IW 15.5.9 IWChart
Forum: IntraWeb General Discussion
Last Post: PaulWeem
04-22-2024, 07:16 AM
» Replies: 2
» Views: 258
Data Decimation in ChartJ...
Forum: IntraWeb General Discussion
Last Post: iwuser
04-22-2024, 06:51 AM
» Replies: 8
» Views: 1,639
ClassicRegionDraw
Forum: IntraWeb General Discussion
Last Post: JuergenS
04-17-2024, 05:35 PM
» Replies: 0
» Views: 169

 
  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

  pdf shows only 1 page on ipad iwurlwindow
Posted by: PDSBILL - 01-11-2022, 03:23 PM - Forum: IntraWeb General Discussion - Replies (1)

I have several PDF files I want to show in an IWUrlWindow. The PDF's are loaded from database using code below

        PdfName:=IncludeTrailingPathDelimiter(WebApplication.UserCacheDir)+'LTR_'+LtrNbr+'.PDF';
        TblobField(UserSession.LtrDataQry.FieldByName('MERGED_TEXT')).SaveToFile(PdfName);
        url:=WebApplication.SessionUrlBase + 'reports/LTR_'+LtrNbr+'.PDF';


It works great in every browser except when trying to view the PDF's on an Ipad. Only  the first page of the PDF file is shown. If I view the pdf directly in Safari or Chrome on the Ipad it works properly.

I am using Intraweb 15.2.48. Delphi 10.4.2

Print this item

  IWDBGrid hangs
Posted by: Lenfors - 01-11-2022, 01:03 PM - Forum: IntraWeb General Discussion - Replies (2)

Hello!

Intraweb version 15.2.49

I'm using the IWDBGrid component in my IntraWeb application. The component is connected to a DataSet. To be able to navigate the records I assigned a OnClick event to all the TIWDBGridColums. The event simply does:       

FDQueryMain.Locate('MyField', AValue);

All works fine, except that the application completely hangs if I click around in the grid. Sometimes I can swith rows 50 times before it hangs. It seems to happen if I click on a new row before the screen is finished updating after last click.

When it hangs the entire form is unresponsive, including all other buttons and controls on the same form as the grid.
No events are triggerd any more in the application.

If I in the browser press refresh button and reload the form it starts working again.

I also tried using OnAsyncClick instead of OnClick in the TIWDBGridComuns but this event does not trigger att all?!

Any ideas how to solve this hang problem?

Best regards, Mikael

Print this item

  JqGrid issue
Posted by: oystein.jakobsen@sas.no - 01-10-2022, 12:57 PM - Forum: IntraWeb General Discussion - Replies (1)

I am debugging a app which randomly stops responding for unknown reason.

But the chrome console reports the following error.

--------

IWBase__3553689138.js:2 Error in processAjaxExecute when evaluating: var g=$("#grid_ULDOWNERSELECTIONGRID");if(g){g.jqGrid("setSelection",TP,false);}

TP is not defined

--------

Where and when is 'TP' defined? Is there any way to trigger the script where 'TP' is defined?

Print this item

  Several certificates for one IW-app
Posted by: I.Igor - 01-10-2022, 11:40 AM - Forum: IntraWeb General Discussion - Replies (5)

Hello.

I would like to use my IntraWeb application to serve multiple sites. Domain names are different because belong to different organizations.
I will clarify.

Option 1. It is acceptable to use:
site1.com - acceptable
site2.com - acceptable
etc

Option 2
site.com/app_for_firm1 -  in my case, this is not possible
site.com/app_for_firm2 - in my case, this is not possible

Outside access to my IntraWeb application is through the standard SSL port (443). The IP address of all domains is the same.

At the start of the session, I can understand which site is being accessed (WebApplication.ApplicationURL) and provide the necessary interaction.

Is it possible to somehow use different SSL certificates for different domain names (site1.com, site2.com, etc)?

IWServerController has SSLOptions CertFileName, KeyFileName and RootCertFileName. It is understood that only one SSL certificate can be used.
1. Can IWServerController dynamically change certificates for different sessions?
2. Or maybe you can collect several certificates in one pem file (and keys too) and then IWServerController will independently figure out which certificate to use for which site?

Perhaps the topic has already been discussed previously, but I could not find a discussion. I found discussions similar to my option 2, but it doesn't work for me. Can you have a demo example?

Print this item

  15.2.49 source code is not available
Posted by: ccy - 01-10-2022, 05:09 AM - Forum: IntraWeb General Discussion - No Replies

Hi,

I couldn't find the 15.2.49 source code in https://app.atozed.com/

Is is ready?

Print this item