This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
Web Server - Ask For Help / Re: JS to update session variables or page fields?
« on: September 13, 2026, 04:00:12 AM »
you can add a SessionValue in your script and then read in NT via webhandler in SessionValueSetFromBrowser or redirect in your JS to specific procedure in NT for read a result, example for set a value in JS:
SetSessionValue("striperesponse", JSON.stringify(paymentIntent) );
I recommend implementing it as a procedure outside the web handler, but the web handler is the easiest way to test it.
SetSessionValue("striperesponse", JSON.stringify(paymentIntent) );
I recommend implementing it as a procedure outside the web handler, but the web handler is the easiest way to test it.
2
Web Server - Ask For Help / Re: Webhooks in Nettalk?
« on: September 07, 2026, 02:46:06 AM »
well i have a webhook for listener stripe transaction, telegram and Alexa, is a simple netwebservicemethod
3
Web Server - Ask For Help / Re: Multi-Site host and NT 12.41 issue
« on: August 31, 2026, 12:35:11 PM »
Hi Don, is possible to share example of Nginx for MultiSite
This is good advice! It will make your life so much easier when working with the MultiSite host.Not really. My recommendation is to have
Host.Exe
App A.DLL
App B.DLL
App C.DLL
all in the same folder.
I run multiple MultiSite host EXE's behind an Nginx load balancer. Talk about keeping Path settings correct. LOL!
Good luck with your problem. Let me know if you still have problems. Been using the MultiSite host exclusively for years.
4
Web Server - Ask For Help / Re: Content-Security-Policy and Content-Security-Policy-Report-Only:
« on: August 30, 2026, 05:50:23 AM »
Bruce i see inconsistency in this two .inc
NetAll.inc:
ContentSecurityPolicy string(256)
ContentSecurityPolicyReportOnly string(256)
NetWeb.inc
ContentSecurityPolicy string(1024)
ContentSecurityPolicyReportOnly string(256)
But after changing everything to 1024, it works for what I wanted.
NetAll.inc:
ContentSecurityPolicy string(256)
ContentSecurityPolicyReportOnly string(256)
NetWeb.inc
ContentSecurityPolicy string(1024)
ContentSecurityPolicyReportOnly string(256)
But after changing everything to 1024, it works for what I wanted.
5
Web Server - Ask For Help / ALPN / HTTP/2
« on: August 29, 2026, 12:04:36 PM »
Is possible to the next version of NT this is available?
6
Web Server - Ask For Help / Content-Security-Policy and Content-Security-Policy-Report-Only:
« on: August 29, 2026, 05:14:47 AM »
Hi Bruce is posible to expand this variables for more characters in Web Server?
set:ContentSecurityPolicy
set:ContentSecurityPolicyReportOnly
set:ContentSecurityPolicy
set:ContentSecurityPolicyReportOnly
8
Web Server - Ask For Help / Re: Clearing Buffer
« on: July 17, 2026, 02:58:03 AM »
i have a similar program but i use this for a name of the file Glo:FileName = clip(p_web.site.WebFolderPath) & '\uploads\$$$Licensees'&random(1,999)&'.xlsx'
9
Web Server - Ask For Help / Nettalk Future?
« on: July 06, 2026, 02:51:18 PM »
Hi Bruce, what's the future of Nettalk, any news about NT15? by the way NT 14.36 is a rock solid
10
Web Server - Ask For Help / Re: NT14 CLALIT2 - NetwebForm - Duplicate Record
« on: February 18, 2026, 04:06:02 AM »
I think it would be better to start posting on Clarion Hub, I see that Bruce answers faster there than on this forum.
11
Web Server - Ask For Help / Re: NT14 CLALIT2 - NetwebForm - Duplicate Record
« on: January 17, 2026, 06:58:02 AM »
i have a same problem without driver kit nt 14.36 with sql server native driver
12
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« on: November 02, 2025, 04:38:30 AM »
I lost the link but I'm attaching the dll and lib
13
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« on: October 30, 2025, 08:17:14 AM »
Hi Don, with QrCode.dll the resolution is perfect a generate small image, very fast and less code
14
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« on: October 30, 2025, 04:06:28 AM »
I use QrCode.dll and it's very easy to use look example, in preupdate and display a result in Media field
p_web.ssv('Loc:receipt_url',Eve4:RECEIPT_URL)
Loc:Text = CLIP(Eve4:GUI)
Loc:PathFileUci=clip(p_web.site.WebFolderPath)&'\uploads\$$$QRInvoice' & CLIP(Eve4:GUI)&'.jpg'
Loc:Pixel=100
Loc:Format='png'
Loc:ColorBlack ='black'
Loc:ColorWhite = 'white'
GenerateQrCode(CLIP(Loc:Text),clip(Loc:PathFileUCI),clip(Loc:Pixel),clip(Loc:Format),clip(Loc:ColorBlack),clip(Loc:ColorWhite))
loc:st_filename3 = '/uploads/'&'$$$QRInvoice'&CLIP(Eve4:GUI)&'.jpg'
p_web.ssv('loc:st_filename3',clip(loc:st_filename3))
p_web.ssv('Loc:receipt_url',Eve4:RECEIPT_URL)
Loc:Text = CLIP(Eve4:GUI)
Loc:PathFileUci=clip(p_web.site.WebFolderPath)&'\uploads\$$$QRInvoice' & CLIP(Eve4:GUI)&'.jpg'
Loc:Pixel=100
Loc:Format='png'
Loc:ColorBlack ='black'
Loc:ColorWhite = 'white'
GenerateQrCode(CLIP(Loc:Text),clip(Loc:PathFileUCI),clip(Loc:Pixel),clip(Loc:Format),clip(Loc:ColorBlack),clip(Loc:ColorWhite))
loc:st_filename3 = '/uploads/'&'$$$QRInvoice'&CLIP(Eve4:GUI)&'.jpg'
p_web.ssv('loc:st_filename3',clip(loc:st_filename3))
15
Web Server - Ask For Help / Re: Uploading files loc:AcceptTypes
« on: October 13, 2025, 02:07:03 PM »
for me work in embeded 6 add Late Server Side this code
Mem:FotoExtension = upper(st.ExtensionOnly(p_web.GSV('Loc:Path')))
IF NOT INLIST(Mem:FotoExtension,'JPG','GIF','TIFF','PNG') OR p_web.GSV('Loc:Path')=''
loc:invalid = 'Loc:Path'
loc:Alert = 'FOTO INVALIDA SOLO SE ACEPTAN: JPG,GIF,TIFF,PNG'
p_web.Script('ntAlert("Invalid Document Type.","ALERT");')
remove(p_web.GSV('Loc:Path'))
p_web.ssv(Loc:Path,'')
CLEAR(Loc:Path)
CLEAR(Mem:FotoExtension)
EXIT
END
Mem:FotoExtension = upper(st.ExtensionOnly(p_web.GSV('Loc:Path')))
IF NOT INLIST(Mem:FotoExtension,'JPG','GIF','TIFF','PNG') OR p_web.GSV('Loc:Path')=''
loc:invalid = 'Loc:Path'
loc:Alert = 'FOTO INVALIDA SOLO SE ACEPTAN: JPG,GIF,TIFF,PNG'
p_web.Script('ntAlert("Invalid Document Type.","ALERT");')
remove(p_web.GSV('Loc:Path'))
p_web.ssv(Loc:Path,'')
CLEAR(Loc:Path)
CLEAR(Mem:FotoExtension)
EXIT
END