NetTalk Central

Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Web Server - Ask For Help / session values in NetWebService not visible???
« Last post by rjolda on November 13, 2025, 02:20:25 PM »
Hi
NT 14.36  C11
I have a NetWebService and it has p_web as the parameter. 
I set some sessionValues.  p_Web.SSV('Someitem','one') in the NetWebService procedure.
I have another Net Talk procedure ( actually a Memform not on a table).  I am trying to read the values set by the NetWebService procedure.
e.g.  in my Memform procedure, I want to check these values periodically.  However my p_Web.GSV('Someitem') is ALWAYS blank - even after I see that my NetWebService procedure has set them using Trace statements.
YIKES - these should be working as they are part of the same session.....
Any ideas?
Thanks,
Ron
42
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« Last post by rjolda on November 02, 2025, 05:41:29 PM »
Hi,
Found that this requires .Net Framework 3.5.  I have it on my machines but I am running my app on WIndows 2022 Server and you have to jump through hoops to put it on a Server.
Ron
43
Web Server - Ask For Help / Re: NetRefresh
« Last post by rjolda on November 02, 2025, 05:39:19 PM »
Hi Jane,
This is Refresh is awesome.  I had 3 procedures that I had working with 2 second polling - mostly because there were under the hood changes in some of the tables that I needed to keep up to date.  With a little work, I got rid of all the polling - my WebServer now just sits there with nothing to do.  It is just amazing.  Got all three procedures running with web sockets - and it it instant whereas with 2 second polling, I had to "wait" for the update. THanks for the critical insight you supplied.
ROn
44
Web Server - Ask For Help / Re: NetRefresh
« Last post by Jane on November 02, 2025, 12:14:04 PM »
Good job, Ron!

Every time I set up NetRefresh in an app I wind up forgetting some piece.  Once the pieces (global template, webserver template, specific browse template, websockets, etc.) are all working, it works really well as long as it knows about changes.

But when I run a process that changes stuff in an embed or a separate procedure, I need to do the setTableValue thing.

One other caveat.  Occasionally websockets doesn't work.  If I completely kill chrome.exe (not just close a tab) and reopen it, it works again.  That's rare and intermittent, but I have experienced it.

Jane
45
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« Last post by rjolda on November 02, 2025, 10:56:30 AM »
Hi Osquibro,
Got it working.  Pretty slick.
THanks,
Ron
46
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« Last post by osquiabro on November 02, 2025, 04:38:30 AM »
I lost the link but I'm attaching the dll and lib
47
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« Last post by rjolda on November 01, 2025, 03:27:22 PM »
HI  Osquiabro,
Is there a link library that goes with QRCode.dll?
Thanks,
Ron
48
Web Server - Ask For Help / Re: NetRefresh
« Last post by rjolda on November 01, 2025, 12:31:16 PM »
HI Jane,
I added the line to SetTableValue to my table and MAGICALLY - it worked!!!
Better than having polling every 2 seconds!
Thanks,
Ron
49
Web Server - Ask For Help / Re: NetRefresh
« Last post by rjolda on October 31, 2025, 01:09:01 PM »
Hi Jane,
Thanks for that.  I saw that but the templates seem to suggest that they will write that code to trigger refresh when you identify the File for Refresh. I will give that manual entry a try.
Ron
50
Web Server - Ask For Help / Re: NetRefresh
« Last post by Jane on October 31, 2025, 12:07:23 PM »
First thing would be to verify that you've got all the pieces of netrefresh working.

You could temporarily make a field on your browse EIP.  When you update the field, it should show on another browser.

Once that's working, read the section of the docs on triggering a refresh from the webserver (i.e., in handcode)  https://www.capesoft.com/docs/NetTalk14/NetTalkWebBasic.htm#NetRefresh

For example, for a browse using my umDischargeManagement table, after doing some processing I have

Code: [Select]
p_web.SetTableValue('umDischargeManagement',today() & '-' &clock())
Pages: 1 ... 3 4 [5] 6 7 ... 10