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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 99,703
» Latest member: ao88skin
» Forum threads: 2,426
» Forum posts: 11,373

Full Statistics

Online Users
There are currently 810 online users.
» 2 Member(s) | 804 Guest(s)
Applebot, Bing, Google, Yandex, ao88skin, Tabish12

Latest Threads
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 374
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 408
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 313
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 655
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 382
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 825
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 337
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,530
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 505
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,228

 
  can not see full background image
Posted by: mazluta - 07-12-2020, 09:15 AM - Forum: IntraWeb General Discussion - Replies (8)

hi.
i add image to the form.background.filename

i add login.css to stylesheet.filename (alsow put it in css property)

body  {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: Arial, Helvetica, sans-serif;
}

.menuContainer{
font-size: 15px !important;
}


the image (in chrom) cut by half and view just the lowersection of the image.
in firefox - all fine.

Print this item

  working with template
Posted by: mazluta - 07-11-2020, 05:32 PM - Forum: IntraWeb General Discussion - Replies (3)

i create small template for log in : login.html

<html>
<body>
    <p> Wellcome  </p>
    <p> {%MainRegion.edUserCode%} User Name </p>
    <p> {%MainRegion.edPassword%} Password </p>
    <p> {%MainRegion.sbLogIn%} </p>
</body>
</html>


the form includ :

1 main region
2 field on the form.
1 button.
1 TIWTemplateProcessorHTML connectent to "login.html"
alsow connected to the - LayoutMgr of the form

the screen stack in chrom and firefox

Print this item

  OnURLRequest not working
Posted by: fatersoft - 07-10-2020, 06:47 PM - Forum: IntraWeb General Discussion - Replies (1)

hi
How to get the data posted by another program
IWAppFormURLRequest
It doesn't work
In other words
how to get webapplication.Request.ContentFields

in the 15.1 is true
in the 15.2 is not working


procedure TmainForm.IWAppFormURLRequest(aSender: TIWAppForm;
  aRequest: THttpRequest);
begin
    IWMemo1.Lines.Text webapplication.Request.ContentFields.Text;

end;
It doesn't work in 15.2

Print this item

  Control the close button of the browser ("X")
Posted by: a.palladino - 07-10-2020, 10:51 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi,
Is it possible to block the closing of the browser ("X" button) before all the tasks are completed? (similar to the VCL forms OnCloseQuery event)
Thanks.

Print this item

  Scale application to screen
Posted by: davidbaxter - 07-09-2020, 05:00 PM - Forum: IntraWeb General Discussion - Replies (4)

What is the best practice to scale a form/application to the browser's screen size? I've looked and tried examples of Bootstrap, but the component selection is limited and I was not successful in modifying the examples to my need. All I really need to do is display a text message in a color and size of my choosing nicely in the center of the screen, be it iPhone, android, tablet, or laptop. Thanks.

Print this item

  Session is already locked - Causes instability
Posted by: reallyethical - 07-09-2020, 09:28 AM - Forum: IntraWeb General Discussion - Replies (14)

One of our senior developers is working on an Intraweb app which we are trialing with around 2000 end users per day. On occasions, the handled exception shown below is raised. This would be fine however it leads to approximately 20% of users experiencing a continual timeout waiting on the return of any callback submissions. 

It is important to note it is not all users, or just ones connected after the event that is affected and it always follows on from one of these exceptions. 

It would appear it is from the aSync Callback taking time to complete on a slow connection so the button does not disable quickly enough and though the process lock is in place for the callback if they click it enough before it disables the button then it raises the Exception. 

We have worked around this by adding in an onClick javascript setting 'disabled = true' by directly referencing the button within the DOM, thus client-side. This is just a little labor-intensive and I would have expected it to be experienced by others. The callback is a aSync event and not just a form submission as we have to ensure that certain data is processed before submitting.

As such my questions would simply be:

1) Why does the Exception then affect a percentage of other users and make the platform unstable?

2) Is it possible within Intraweb to automatically force a client-side disable of buttons without having to manually create the javascript to disable or is the technology always designed to be server-side via the aSync callbacks? 

3)  As we are still getting the error (I assume by the user refreshing via the command line) is there any way to ensure it does not affect others.

Thank you in advance for sharing your thoughts. 


-------------------
Exception message  : Session is already locked.
Session ID is invalid.
Exception class    : ESessionAlreadyLocked
Session ID        : xl6wwk6EmwwelmrhI0sdUSvmaNa
Exception details  : UrlPath=/$/callback
Exception address  : 00000000008ECD79
Exception Time    : 2020-07-08 15:19:17.966
------------------------------------------------------------------------------------------------------------------------
//REDACTED
Compiler Version  : 300
//REDACTED
IntraWeb Version  : 15.2.3
Multi-session      : True
//REDACTED
Session count      : 489
//REDACTED
Request PathInfo  : /0~0fvmTbdG-jD5jbI2S4~oC2G4a/$/callback
Request Method    : POST
Request User Agent : Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/604.1
Cookies Count      : 1

Print this item

  New demo showing advanced IWEdit types
Posted by: Alexandre Machado - 07-09-2020, 06:03 AM - Forum: CrossTalk General Discussion - No Replies

Hi guys,

here is a new demo online showing a few new fancy things that you can do with your existing IWEdit controls.

No need to reinvent the wheel or use anything else:

http://intraweb.net.br/iwedit/

The source code is on github:

https://github.com/Atozed/IntraWeb/tree/...InputTypes

Enjoy!

Print this item

  Service stuck at Starting
Posted by: DavidChiq - 07-08-2020, 08:20 PM - Forum: IntraWeb General Discussion - Replies (3)

I have a Standalone Application (Indy) that runs fine when compiled as an application but when compiled as a service (TIWStart.Execute(False); ) the service starts, the IWServerControllerBaseConfig runs and exits, the IWServerControllerBaseCreate runs and exits.  There are timers on the form and they run and execute, but the Service never shows in the service manager as Running, only sits at Starting, and browser connections cannot be made to the service.  Any ideas?  What has to finish for the service to be "started"?

BTW, This was an update to a service that has been in operational use for 5 years.  It is to be version 2.3 but this is the first time I have had this issue.  I made updates but can't figure out what could be causing it - and when I disable some changes or replace the items with what was used before it still happens.  I can compile version 2.2 with the new Intraweb and it runs as a service fine, so it isn't an Intraweb issue.  I just don't know what to look for that would cause it to not tell Windows it was loaded but that doesn't cause an issue when compiled and run as an app.
 
Thanks
David

Print this item

  iwdbgrid e funções javascript
Posted by: DeboraMezz - 07-08-2020, 07:07 PM - Forum: IntraWeb Dúvidas Gerais - Replies (9)

Olá Pessoal,

  Sou nova no intraweb por isso já antecipo a falta de conhecimento, eis meu problema:

  Fiz uma tabela usando html para montar o cabeçalho e chamei o restante pela procedure TemplatesUnknownTag, e ainda usei uma função em jscript usando a jquery que faz com que seja possível editar os dados diretamente na tabela "salvando" as alterações com o clique do Enter não uso nenhum edit e nem button no delphi para fazer essa edição, porém agora não sei exatamente como fazer para o delphi receber as alterações e fazer os updates no banco, pensei em usar algum evento da iwdbgrid, como onHTMLtag ou onRenderCell, porém não achei nenhum documento que explicasse bem como funciona esses eventos, assim venho aqui pedir uma luz!

  Agradeço a oportunidade e aguardo um retorno!

Print this item

  Close form and sqlite
Posted by: softdev85 - 07-08-2020, 11:34 AM - Forum: IntraWeb General Discussion - Replies (2)

Hello,

1/ What is best way for show différent form in intraweb ?
2/ What i must close when i use sqlite, when i close webbrower ?

3/ My problem nos is when i close bowser
and i restart a new session no error but no showing dat of my database

any idea ?

Thank's a lot
best regards

Print this item