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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 84,204
» Latest member: basketbountyslot
» Forum threads: 2,412
» Forum posts: 11,326

Full Statistics

Online Users
There are currently 441 online users.
» 5 Member(s) | 432 Guest(s)
Applebot, Bing, Google, Yandex, gg888scom, hello88vntop, junctionpointphysio, jw88amobi, king88kitcom

Latest Threads
OpenSSL and concurrent re...
Forum: Indy
Last Post: kbriggs
Yesterday, 02:41 PM
» Replies: 5
» Views: 92
Projeto Intraweb
Forum: IntraWeb General Discussion
Last Post: vonirpereira
07-03-2026, 06:51 PM
» Replies: 0
» Views: 58
Intraweb + Lazarus
Forum: IntraWeb Dúvidas Gerais
Last Post: vonirpereira
07-03-2026, 06:35 PM
» Replies: 0
» Views: 27
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:19 AM
» Replies: 4
» Views: 4,249
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-01-2026, 12:04 AM
» Replies: 4
» Views: 612
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: Gustave
06-30-2026, 09:00 PM
» Replies: 0
» Views: 81
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 776
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 141
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,879
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 575

 
  Want simple JS demo
Posted by: Kristy - 08-16-2019, 06:54 AM - Forum: IntraWeb General Discussion - Replies (26)

At Huh
Just want to show user time zone offset in IWEdit1.
IW demo seem too complicate that I did not get the right way to handle return.
What am I missing?


procedure TIWForm1.IWAppFormCreate(Sender: TObject);
begin
  Self.JavaScript.Add('function TZoffset(){'+ #13#10
  +'var d = new Date();'+ #13#10
  +'var tn = d.getTimezoneOffset();'+ #13#10
  +'document.getElementById("IWEDIT1").innerHTML = tn;'+ #13#10
  +'}');

IWedit1 is a way for return back the value to usersession variable only.

Thanks for help!
end;

Print this item

  Session memory leaks problem
Posted by: vg0005 - 08-15-2019, 08:36 PM - Forum: IntraWeb General Discussion - Replies (3)

Dear IW developers:
 
First of all, thank you for your creative work and tireless efforts.
 
However, I have found a memory-leakage problem which occurs each time when IW destroys a session. Even if it is a web page with only one button or no user codes at all (including all of your demos), when a session is destroyed, it only releases 1/10 of the memory it has consumed(15.1.3 is a little better but still far from satisfactory). For instance, it consumes approximately 1mb memory when a session starts and it spits back only 0.1mb memory when the session is killed.
 
Please use any one of your demos and evaluate the memory ‘black holes’. I usually set the sessiontimeout time to 1 minute to quicken the process but 10 minutes made no difference. I sincerely hope you could fix up the memory problem ASAP.
 
Thank you for your atention.
Ps: I used one of your demos named ‘Guess’. The pic below shows what I had in my TASKMANAGER:

Sorry I forgot to tell you the pic shows what I experienced with one of your IW demos called 'Guess'. You created this demo so I didn't post it as an attachment.



Attached Files Thumbnail(s)
   
Print this item

  Active control question
Posted by: SorenJensen - 08-15-2019, 02:58 PM - Forum: IntraWeb General Discussion - Replies (6)

Hi all,

In VCL it is possible to find out which control is active, and with before and after events, also to tell what the next control to receive focus is, or which control had the focus before.

I used that to bypass some activities in events like OnEnter and OnExit, only doing certain things, if the previous or next active control, was the expected one.

In Intraweb there is an ActiveControl property of the IWForm, but it do not seem to get updated as the focus shifts from control to control. In the IWForm documentation is says it can be used to set the active control when the form is rendered. I suppose it is like the taborder value.

Are there any other way of getting info about which control is the active one ?

Regards
Soren

Print this item

  FTPS with Indy/Delphi to connect with special Visa FTPS server
Posted by: peak.tibor@gmail.com - 08-15-2019, 06:51 AM - Forum: Indy - Replies (8)

Hi,

any help would be useful.

This Visa server is quite specific (I have tried two commercial FTP clients /WS_FTP and TurboFTO/, none of them could connect to this server), two examples:

- requires a special sequence of FTP command during connection startup ( I could follow this making some modifications in IdFTP.pas)
- behaves a little bit special when using the CCC option (I'm stuck with this)

Server documentation states:

Quote:The client is expected to initiate the TLS shutdown after receiving the 200 response to the CCC request.

When I issue the CCC command, it receives the correct answer from the server, but after this the connection is broken. It seems the Indy Ftp client / OpenSSL solution handles this situation a little bit different as the server requires it, but I do not know how to change this.

ANY HELP WOULD BE WELCOME!

What I can see in the IdFtp.pas, after issuing the "CCC" command and receiving the acceptence from the server, the following is executed:

Code:
(IOHandler as TIdSSLIOHandlerSocketBase).PassThrough := True;

And that's all!!!

I do not know how could any change be applied to modify the client behaviour.

Thanks in advance.

Tibor Peak

Print this item

  Help with IL2CPU Error
Posted by: AwesomeCronk - 08-14-2019, 08:23 PM - Forum: COSMOS - Replies (7)

I swear, Kernel.cs is the only file I've edited.

   

Print this item

  Locker image + BaseRewriteURL
Posted by: MJS@mjs.us - 08-14-2019, 05:45 PM - Forum: IntraWeb General Discussion - Replies (6)

Hello,

Updated to 15.1.3 and running as a service with reverse proxy.   The new SVG locker image logic looks to break if you are using BaseRewriteURL.  If I use BaseRewriteURL I get a 404 on 'loading_svg.svg', without using BaseRewriteURL the image locker displays fine.

Regards,
Mark

Print this item

  How to deploy an OS to physical hardware
Posted by: AwesomeCronk - 08-14-2019, 05:06 PM - Forum: COSMOS - Replies (8)

I would be content creating an ISO file, so that I could burn it to a flash drive with Rufus or make a standalone VM.

Print this item

  Questions regarding Sys.Power
Posted by: AwesomeCronk - 08-14-2019, 05:05 PM - Forum: COSMOS - Replies (2)

I have in my current code for my OS a routine that reboots the device if you give five incorrect passwords. However, when it reboots, it reboots back into the device(VMWare) without resetting any variables. Is this intended? And should I just wipe the variables on boot-up? They do not appear to persist between debug instances.

BTW, this forum is QUIET!

Print this item

  TIWEdit and SubmitOnAsyncEvent
Posted by: brsoft - 08-14-2019, 07:17 AM - Forum: IntraWeb General Discussion - Replies (12)

Hi,

There is a little problem, I noticed by accident.

Environment:
- Delphi XE5
- Intraweb 15.1.3
- Windows 10
- Browsers: Chrome, FF, Edge

Setting:
TIWEdit
SubmitOnAsyncEvent := False;

It works differently when you press Enter:
If there is only one TIWEdit, the form OnRender event starts
If there is more TIWEdit, the OnRender event for the form will not start.

I've attached the examples.

Regards
brsoft



Attached Files
.zip   submittest1.zip (Size: 5.48 KB / Downloads: 2)
.zip   submittest2.zip (Size: 5.51 KB / Downloads: 1)
Print this item

  IW 15.1.3. Checkbox Template
Posted by: matija - 08-14-2019, 06:15 AM - Forum: IntraWeb General Discussion - Replies (1)

My template

If i define IWCheckbox (name eSum):

<div class="checkbox">
<label><input id="ESUM" type="checkbox" value="">Sum</label> -> NOT WORK!
</div>

else define:

{%eSum%} -> WORK

Should this work equally? This also applies to other components. Until now!

Print this item