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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,197
» Latest member: perfectpourmobilebar
» Forum threads: 2,150
» Forum posts: 10,471

Full Statistics

Online Users
There are currently 384 online users.
» 0 Member(s) | 381 Guest(s)
Bing, Google, Yandex

Latest Threads
ClassicRegionDraw
Forum: IntraWeb General Discussion
Last Post: JuergenS
04-17-2024, 05:35 PM
» Replies: 0
» Views: 65
CompressorImplementation
Forum: IntraWeb General Discussion
Last Post: JuergenS
04-17-2024, 05:27 PM
» Replies: 0
» Views: 63
IntraWeb 15.6.0 is out!
Forum: IntraWeb General Discussion
Last Post: Comograma
04-17-2024, 11:54 AM
» Replies: 11
» Views: 493
How to manage forms and v...
Forum: IntraWeb General Discussion
Last Post: David1
04-17-2024, 10:37 AM
» Replies: 0
» Views: 63
iwjqdbgrid button example
Forum: IntraWeb General Discussion
Last Post: joelcc
04-16-2024, 09:07 PM
» Replies: 0
» Views: 81
New demo available
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
04-16-2024, 03:54 AM
» Replies: 0
» Views: 120
IW 15.5.9 IWChart
Forum: IntraWeb General Discussion
Last Post: PaulWeem
04-15-2024, 12:50 PM
» Replies: 0
» Views: 108
Multipage websocket commu...
Forum: IntraWeb General Discussion
Last Post: davidbaxter
04-15-2024, 02:39 AM
» Replies: 5
» Views: 747
TIWServerControllerIniRea...
Forum: IntraWeb General Discussion
Last Post: Lorbass
04-12-2024, 10:59 AM
» Replies: 0
» Views: 135
Resize problems with IW 1...
Forum: IntraWeb General Discussion
Last Post: Lorbass
04-12-2024, 10:47 AM
» Replies: 9
» Views: 784

 
  IW 2021 Update?
Posted by: ShaneStump - 11-18-2020, 01:58 AM - Forum: IntraWeb 17 - Replies (3)

Any news?

All the best,

Shane

Print this item

  WebApplication.AppID
Posted by: Mikael Nilsson - 11-16-2020, 03:43 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi,

Is there a way to get all active AppIDs in the web application?

Regards Mikael

Print this item

  Thread update IWLabel
Posted by: matija - 11-13-2020, 09:20 AM - Forum: IntraWeb General Discussion - Replies (4)

In have (VCL version) thread for update statusbar

How update code for IW with update IWLabel? IWLabel1.Caption .... Access Error!

VCL code:
procedure TMyThread.Execute;
begin

while not Terminated do
begin

          if Terminated then
          begin

            Synchronize(
              procedure
              begin
                MainForm.StatusBar1.Panels.Items[0].Text := 'Load Ending! ';
              end
              );

            Break;

          end; // if terminated


Synchronize(
                    procedure
                    begin
                      MainForm.StatusBar1.Panels.Items[0].Text := 'Loading... ';
                    end
                    );


end; // while

end;

Print this item

  Get Url
Posted by: ozelaya - 11-13-2020, 06:28 AM - Forum: IntraWeb General Discussion - No Replies

Hi,

Is there a way to get the url that has been used to access the IWApp?

My IW App handles params something like this "http://MyApp?Action=5&form=6" and can be also accesed without params "http://MyApp"

What I want to achieve is that on Sessionexpired redirect to the same url used to access my app.

on Exipred session redirect again to "http://MyApp?Action=5&form=6" or to "http://MyApp"

Is this possible, any hints?

Thanks in advance,

Omar Zelaya

Print this item

  Loading and saving image
Posted by: Landon - 11-12-2020, 11:55 PM - Forum: IntraWeb General Discussion - Replies (2)

I am very new to IntraWeb and web development for that matter.  I am trying to allow a user to take a pic from their phone and save it to a database through a browser.

I have figured out how to allow the user to take a pic and display it through the TemplateProcessorHTML and javscript.  However, I am not sure how to get the loaded image from there, to a point where I can save it.

I figured there has to be an IW component I can use for this, but I do not know where to start.  I have other forms that I have text fields saving just fine, but I am not using the TemplateProcessor for them. 

Any help would be appreciated.

Print this item

  DateTime format
Posted by: Mikael Nilsson - 11-11-2020, 01:53 PM - Forum: IntraWeb General Discussion - Replies (11)

I have problem with DateTime format.
Delphi version is 10.3.3 and IW 15.2.3


In Delphi/Intraweb I do this command that's fails with this error: '2020-11-11 14:22:57.660' is not a valid date and time

wDateTime := strToDateTime(ContinueTime);


wDateTime is a TDateTime
ContinueTime is a string containing the value '2020-11-11 14:22:57.660'

I have also done these settings in ServerController
procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
  SysUtils.FormatSettings.ShortDateFormat := 'yyyy-mm-dd';
  SysUtils.FormatSettings.ShortTimeFormat := 'hh:nnConfuseds';
  SysUtils.FormatSettings.LongTimeFormat := 'hh:nnConfuseds.zzz';
end;


I forgot to mention that this code works in SA buy not as a ISAPI.dll

Print this item

  Could not load SSL library
Posted by: alpires2000 - 11-10-2020, 11:46 PM - Forum: Indy General Discussion - Replies (9)

Hi, when I try to access a url with https the following error occurs: Could not load SSL library. But this error only occurs when I compile my app for android 64-bit, 32-bit works well.
I am using delphi 10.3.3 and AndroidOpenssl1.0.2h

Some idea?
Thanks

Print this item

Question D10.4.1 with Intraweb 15.2.20 install issue
Posted by: worajedt - 11-10-2020, 09:25 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi all

I've tried IntraWeb 15.2.20 (should be the latest) with Delphi Enterprise 10.4.1 (has some plugins installed).
(
The same IntraWeb version can be install on 10.3.3 successfully.)

After install successfully, I've got issues like these attached images. Also I've tried to remove some bundled intraweb but seems like it's not have left.

What can I do to fix this? I've try to delete Intraweb 15 folder in AppData and reinstall again but not successful.



Attached Files Thumbnail(s)
                   
Print this item

  OnBrowserCheck in IW15.2.20
Posted by: jeroen.rottink - 11-09-2020, 02:54 PM - Forum: IntraWeb General Discussion - Replies (4)

Hi Alexandre,

I use following code to disable unsupported browsers but keep support for some apps using a rest api

Code:
// Step 1. OnBrowserCheck
procedure TIWServerController.IWServerControllerBaseBrowserCheck(
  aSession: TIWApplication; var rBrowser: TBrowser);
begin
  // REST method is often called from a non-browser. change this so the call is accepted
  if (rBrowser is TOther) and aSession.Request.PathInfo.StartsWith('/restapi/')
  then begin
    rBrowser.Free;
    // accept the unknown browser as Firefox (probably the best idea)
    rBrowser := TFireFox.Create(TFireFox.MIN_VERSION);
  end
  // handle unknown and non-supported browsers, they don't belong there (often script kiddies)
  else if not rBrowser.IsSupported
  then begin
    rBrowser.Free;  // free current browser object because it will throw an exception otherways
    rBrowser := TFireFox.Create(TFireFox.MIN_VERSION);

    TerminateSession(aSession, 403, 'Forbidden');
  end;
end;

In IW15.2.20 requesting the restapi gives a AV because aSession is nil like stated in the release notes.
Can I test the request in this function in another way?

Print this item

  Chart.js + Template
Posted by: matija - 11-06-2020, 12:13 PM - Forum: IntraWeb General Discussion - Replies (1)

I use intraweb with a HTML template (Bootstrap).
Does anyone have experience with this component chartjs.org?

How to fill chart.js with label and data?

Something from code:

Code:
datasets: [{
            label: '# Years',
            data: [2020, 2019, 2018],

Print this item