NetTalk Central

Show Posts

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.


Messages - DonRidley

Pages: 1 [2] 3 4 ... 48
16
Web Server - Ask For Help / Re: Load balancing
« on: December 21, 2022, 04:44:45 AM »
Quote
So how do you deal with that, Don?

Does Nginx just always direct session xyz to the same instance that session used for the previous call(s) ?

Cheers,

Jane

With the IP Hash of Nginx Core, once a request is made from an IP address, subsequent requests from that IP address are directed to the same upstream server.  So the session stays alive on that server.

If I stop that server, that IP will be directed to one of the other servers.  However, the session is lost and the user will have to login again.  This is the holy grail for me.  Getting session data moved to the new server.  I haven't solved that yet.  Now, if users do not require a login it would work perfectly.

I hope that answers your question.

17
Web Server - Ask For Help / Re: Load balancing
« on: December 20, 2022, 04:48:54 AM »

Hello Alberto,

I use Nginx Core to perform load balancing between 3 multi-site host web servers.

Nginx Core is their free version.  Nginx Plus is the commercial version.

The setup works well.  It does not address sessions. 

Getting the Nginx settings right is a little tedious but not incredibly difficult.

I could post a copy of my settings here if you're interested.


18
Web Server - Ask For Help / Re: What is more?
« on: October 19, 2022, 03:37:34 AM »
It hasn't worked for me in a very long time Jane.

It's supposed to create a "shortened" browse row with a "more" link.

When you press "more", the row is expanded to allow viewing of the full browse row.

19
Modified NetTalk File Upload example application demonstrating the use of Javascript to capture upload events.

Also shows how OpenCV.js can be used to perform client side image modifications.

https://drive.google.com/file/d/1uEPSLrt5I1Vq6_LaxND8B-KorE3ACcBU/view?usp=sharing

Hope you find this useful.

20
Web Server - Ask For Help / Re: NT 12.41 error
« on: June 28, 2022, 06:09:27 PM »
What Jane said.

Refresh your Classes.

 :)

21
Did you double check that your ClaNet.DLL version matches your NetTalk version?  That can cause weird behavior.

22
Web Server - Share Knowledge / SVG-CSS Utility
« on: June 16, 2022, 02:33:23 PM »
Hello Everyone,

Bruce demonstrated a long time ago a way to use CSS to reference embedded images in an SVG file.  Then use the CSS to display icons in a NetTalk web application.

Instead of manually creating the CSS file, I put together a small app to assist in creating the file.

It's nothing spectacular but maybe someone can find it useful.

Have a great day!

https://github.com/donridley1972/SVG-CSS-Utility

23
Web Server - Ask For Help / Re: Multi-Site host and NT 12.41 issue
« on: May 18, 2022, 03:46:19 AM »
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.

24
How does it work? the web folder is not included and does not have the scripts

Fixed

25
Thank you for alerting me to that.  I'll upload the web folder.

27
Web Server - Ask For Help / Re: Creating multi dlls from a Web Server exe
« on: November 12, 2021, 04:28:44 AM »
I did a webinar on this very topic.

https://www.youtube.com/watch?v=t08o0KKniaY

28
Web Server - Ask For Help / Re: LetsEncrypt Certificate Renewal
« on: June 16, 2021, 02:18:21 AM »
https://www.capesoft.com/docs/NetTalk12/NetTalkWebSecure.htm#LetsEncrypt

Automatically 30 days before expiration.

No special code needed.

Ports 80 and 443. 

29
Web Server - Ask For Help / Re: NT12 apostophe in browse forms
« on: June 11, 2021, 02:29:03 AM »
Looks like the server is converting the character to an HTML entity.

I wonder if you could do a stname.Replace(''','<39>') instead of stname.replace('`','''')  if it take care of it.

You may have to do it at runtime in the NT browse when it creates that cell.

Good luck,

Don

30
Web Server - Ask For Help / Re: NetTalk 12.15
« on: April 26, 2021, 01:27:29 AM »
No problem Bruce.

Thanks for the build!

Pages: 1 [2] 3 4 ... 48