NetTalk Central

Recent Posts

Pages: 1 ... 7 8 [9] 10
81
The Rest - Share Knowledge / Re: Posting a file to a web site
« Last post by Jane on April 28, 2025, 09:24:17 AM »
Verifying the server name is obviously a security concern.

But if you're certain of the server, you can turn off the name checking.

Use the DontVerifyRemoteCertificateCommonName property:
 
https://www.capesoft.com/docs/NetTalk14/NetTalkWebClient.Htm#TLS
82
Web Server - Ask For Help / Re: Refresh NWB Header
« Last post by rupertvz on April 28, 2025, 08:32:47 AM »
Thank you Bruce,

I will make an example app,

It is however very simple, for every record inserted into the NWB by the user, the total no of records (or quantities captured by the user) must show in the NWB HTML "header".

I need to show the total in the top (header) section, thus cannot use column totalling.
83
Web Server - Ask For Help / Re: Refresh NWB Header
« Last post by Bruce on April 25, 2025, 10:46:32 PM »
ahhh - so when you said "the browse header" you meant in a routine that you happened to name "header".
A small detail, that probably matters with regard to the answers.

The item you are updating in this header, is it specific to this user, or common across all users using the server? It seems like it's a value unique to this user?

Your best option is to make a small example app showing what it is you want to do, and I can look at that and suggest something from there...

Cheers
Bruce
84
Web Server - Ask For Help / Re: Refresh NWB Header
« Last post by rupertvz on April 25, 2025, 01:19:17 AM »
Hi Bruce,

Kindly see attached for the HTML section for the NWB.

Regards
Rupert
85
Web Server - Ask For Help / Re: Refresh NWB Header
« Last post by Bruce on April 23, 2025, 07:18:51 PM »
define what you mean by "browse header" ?
86
Web Server - Ask For Help / Re: Refresh NWB Header
« Last post by Jane on April 22, 2025, 10:10:23 AM »
Check the web34 "Calculator" example app.
The Performance procedure has stats updated with websockets.  (It's not on the menu so you need to enter the URL manually in your web browser.)
On the fields in the template, notice the "Live via WebSocket" checkbox ticked.

Check out this: https://www.capesoft.com/docs/NetTalk14/NetTalkWebBasic.htm#WebSockets
And search for "socket" on this page: https://www.capesoft.com/docs/NetTalk14/NetTalkWebFunctionality.htm#NetWebForm

If you have Bruce's book "Developing Web Applications with NetTalk - Fourth Edition" you can read the chapter on Web Sockets.
87
Web Server - Ask For Help / Re: Refresh NWB Header
« Last post by rupertvz on April 22, 2025, 02:30:54 AM »
Thank you Niels,

I have not yet updated hostvalues via WebSocket.
Are you able to give me a little direction?
88
Web Server - Ask For Help / Re: Refresh NWB Header
« Last post by Niels Larsen on April 21, 2025, 09:43:38 PM »
Hi

When I do this, I use a host value updated via websocket. Then all logged in users see the value immediately.

/Niels
89
Web Server - Ask For Help / Refresh NWB Header
« Last post by rupertvz on April 21, 2025, 09:39:41 AM »
Hi All,

I have a value in the NWB header.
I would like to "refresh" this value, every time a new record is added via the NWF.

I tried enabling the option "Refresh Header on Save", but the NWF hangs when this option is selected.
Is there another way to refresh the value in the NWB header?
90
Web Server - Ask For Help / Re: Changing theme has no effect (RESOLVED)
« Last post by Poul Jensen on April 19, 2025, 10:02:47 PM »
OK.

But with data tables, the threaded connection strings you use need to be set on each thread.  Hence the suggestion to set them in ProcessLink each time a thread runs.

My point was that once you set a theme, you do not need to set it again each thread.  It's sticky to the session, not to a thread. 

That said, the one time that you set the theme can be with the rest of the stuff you're doing in ProcessLink - no need to have separate code to do it in PageHeaderTag.
Set the theme once in ProcessLink, and set the threaded connection strings there each time.

Noted.

Thanks for your comments.
Pages: 1 ... 7 8 [9] 10