NetTalk Central

Recent Posts

Pages: [1] 2 3 ... 10
1
Web Server - Ask For Help / Re: webserver example 79
« Last post by harold peters on Today at 01:15:49 AM »
trying to create a self signed certificate
CreateSelfSignedCertificate.bat

get this error

how do I generate YourRandom.rnd

Can't load .\YourCARoot\private\YourRandom.rnd into RNG
EC6F0000:error:12000079:random number generator:RAND_load_file:Cannot open file:crypto\rand\randfile.c:107:Filename=.\YourCARoot\private\YourRandom.rnd
2
Web Server - Ask For Help / Re: webserver example 79
« Last post by Bruce on April 19, 2026, 08:59:14 PM »
seems to work here. Note that it *has* to be on a secure connection (or 127.0.0.1).
3
Web Server - Ask For Help / Re: Refresh Browse after Post Update
« Last post by rupertvz on April 16, 2026, 11:14:55 PM »
Thank you Jane ;-)
4
Web Server - Ask For Help / Re: Refresh Browse after Post Update
« Last post by Jane on April 16, 2026, 12:28:42 PM »
There's a way to refresh a browse from (almost) anywhere in your app whenever you want.

You need to set up all the pieces correctly.  Then just do a p_web.SetTableValue whenever you want to refresh the browse (assuming you're in a procedure that has access to p_web).

https://www.capesoft.com/docs/NetTalk14/NetTalkWebBasic.htm#NetRefresh
5
Web Server - Ask For Help / Refresh Browse after Post Update
« Last post by rupertvz on April 15, 2026, 12:23:07 AM »
Hi Everyone,

Is there an option / way to refresh records in a NWB after applying some code (record changes) in the "Post Update" of the NWF updating the browse.
6
Web Server - Ask For Help / webserver example 79
« Last post by harold peters on April 12, 2026, 11:50:02 PM »
Has anyone ever got  example 79 to work (camera, barcode, QR scanning)? I am trying to implement QR scanning in a webserver app without success (clarion 11.1 Nettalk 14.37)
7
Web Server - Ask For Help / Re: GET response without NetTalk Ajax "stuff"
« Last post by the_question on April 06, 2026, 03:34:32 AM »
Yes, I am creating custom JavaScript. And I just wanted to force the response from server to have my structure. Nothing default from NetTalk.

But, I have figure it out if I send in the request that ajax=1, instead 0, response is much smaller. And my text is in the beginning of the response. So I have modified code:

Code: [Select]
  try {
    const response = await fetch("/Link?" + params, {
      method: "GET",
    });
    const text = await response.text();
    const value = parseInt(text.slice(0, 1), 10);
    return value;
  } catch (e) {
    console.info("Error GET /Link:", e);
    return null;
  }

With this, there is still some overhead, but is much smaller.
8
Web Server - Ask For Help / Re: Multi site host maintenance message
« Last post by Bruce on March 19, 2026, 02:06:08 AM »
Hi Tim,

I don't think you can do what you want here. The include is limited to the \web folder (for each site).
For security You can't access files from elsewhere on the disk using an include.
I recommend you just make a batch file to propagate your message to the other folders.

Cheers
Bruce
9
Web Server - Ask For Help / Re: GET response without NetTalk Ajax "stuff"
« Last post by Bruce on March 18, 2026, 05:51:06 PM »
I'm not sure you're asking the right question.

From your screen-shot I'm guessing you are writing custom JavaScript, which in turn makes a request to the server? And you've got custom code on the server to generate the response? But your custom JavaScript code doesn't match your custom response - or more accurately you don't feel you have enough control over the response to achieve what you are wanting to do?

Am I on the right track?

Bruce
10
Web Server - Ask For Help / Re: NT14 CLALIT2 - NetwebForm - Duplicate Record
« Last post by Niels Larsen on March 17, 2026, 06:28:35 AM »
Hi Bruce

Thanks for the feedback.
I know you're a busy man but when you didn't respond to my inquiries I got a little worried.

But now I'm happy again - looking forward to really getting started using the new driver.

Regards Niels
Pages: [1] 2 3 ... 10