Welcome, Guest |
You have to register before you can post on our site.
|
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
|
|
|
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;
|
|
|
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
|
|
|
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.
|
|
|
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
|
|
|
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?
|
|
|
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],
|
|
|
|