NetTalk Central

Recent Posts

Pages: [1] 2 3 ... 10
1
Web Server - Ask For Help / Re: Proxy server for let's encrypt?
« Last post by rjolda on August 29, 2025, 02:52:25 AM »
HI Jeff,
I am not 100% sure about this Proxy Server Stuff.  Anyway, to start off, the Security Certificate issuer needs to make sure that you control the DOMAIN NAME and are not posing as a bad actor.  TO do that, they have you write a message in the Index page header to show that you can control the domain.  There are other methods. Lets Encrypt writes a file to port 80 and then you must act on it - I don't know how, but you must do something to it and return it to show that you control the server.  This is what you CAN'T do because port 80 is blocked.  So, Bruce has an alternate method of verifying domain ownership using the DNS record.  Lets Encrypt is asked or given permission to do something with a record on your DNS domain registry which you then act on and it confirms that you own the DNS listing for your domain.  That being said, the DNS provider has to have the functionality available to allow Lets Encrypt to act on your DNS record.  That is why Bruce provides the name of a low cost DNS provider for which HE HAS WRITTEN the necessary interfaces.  SO, fetching your own certificates from Lets Encrypt won't work with ANY PROVIDER.   Now, I purchased my working domain from GoDaddy but I host it on a server in my office.  (Port 80 is blocked by ISP).  I purchase SSL from GoDaddy for this domain - costs $90.00 per year.  I simply take the SSL info and plop it onto my office server and it just keeps working.   So, you can do the same thing.  Purchase an SSL certificate from Network Solutions but it will be a little more expensive and plop it onto your server.  I have found that Network Solutions has become more difficult to work with over the years and I have moved away from them for that exact reason. 
SO, you have two viable choices to get your server up and make $$$$ as I see it:
1. Use DNSimple - will cost you maybe less than $100.00 per year .  It is fairly cheap.
2. Purchase an SSL Certificate from NetWOrk SOlutions which you can transfer to your server.  They already know that you own the domain because it is registered though them. (They will want to put it on a Network Solutions Server that you have purchased from THEM... I had to fight to get mine over to my server.  That was a few years ago. You plop the certificate on to your server and you are good to go. 
The standard SSL port is 443 and you would be able to use  https://jking.com   and folks would get to your secure site.   With port 443 CLOSED, you are going to have to pick another port - such as 800 and everyone will have to use http://jking.com:800 to get to your site.
Hope this gives you some perspective,
Ron
2
Web Server - Ask For Help / Proxy server for let's encrypt?
« Last post by jking on August 28, 2025, 11:21:46 AM »
Hello everyone,

     My IT Department has become very strict over the past few years.  Now they won't allow ports 80 and 443 to be "open to the public".  That creates a problem for my NT 14.30 server apps.  I have looked at DNS challenges, but that seems to require an account at DNSimple.  The domain I use is already registered at Network Solutions (Register.com).  I could register a new domain with DNSimple, but that would cost more money.
     So, I see a proxy tab that has a check box to "allow acme client to use proxy server".  If I can get the IT Dept. to create a simple proxy server that is isolated but has 80 and 443 open, would this work?  I'm thinking ports 80 and 443 would be open to the public on the "isolated" proxy server, which would handle the challenges, and then forward the cert and key to my NT server.  Is that how this might work?

Thanks,

Jeff King
3
Web Server - Ask For Help / Re: Table update Netwebform with popup memory forms
« Last post by JohanR on August 21, 2025, 02:23:13 AM »
Hi Ron

Thanks, that is a very clear explanation.

You have confirmed what I understand it to do with some more information that is very helpful

thanks

Johan

4
Web Server - Ask For Help / Re: Table update Netwebform with popup memory forms
« Last post by rjolda on August 21, 2025, 02:17:44 AM »
Hi Johan,
Maybe this will shed some light on what is going on under the hood.....
Consider this:

!Access:MailBoxes.Open()
!Access:MailBoxes.UseFile()
!MAI:MailBoxNumber = p_web.GSV('MAI:MailBoxNumber')
!Access:MailBoxes.Fetch(MAI:PrimaryKey)
!p_web.FileToSessionQueue(MailBoxes)  <<<<<<<<<<<<======================
!Access:MailBoxes.Close()

This populates the SSV for each field!!!!  This happens at the beginning of the FORM After Files are OPEN..


These ae the working statements:
p_web.FileToSessionQueue(file) copies an entire file record buffer to the session data queue.
p_web.FileToSessionQueue(file, Net:AlsoValueQueue) copies the entire record buffer to both the session data queue, and the value queue at the same time.

So, you manipulate SERVER VALUES of the data through the form.  ( One of the reasons it is done that way is because the "form" is not persistent.  Net Talk goes in and out of the form several times (stages) before it closes - so to keep the data persistent, the field data is stored in SERVER VALUES ( which do persist).  Note: SERVER VALUES for each field are persistent and can be changed elsewhere and be updated such that the NEW VALUE is really the one that gets written to the record when SessionQueueToFile is called.

When ALL IS DONE then the SERVER VALUES containing the field values for the record are written back into the file in one go of it:

p_web.SessionQueueToFile(file) primes a record buffer with contents from the session data queue.

After a little more cleanup, the Form is done and the record has been updated.

As an aside, sometimes I need to update another file.  Rather than do the whole File to Queue and back, I will fetch the record that I want and stuff in the new value and update it.  e.g.
item:ihid = 100
if Access:ITEMS.Fetch(ITM:IHID_KEY) = Level:Benign
   itm:amtinstock = 25
   itm:descrip = p_web.GSV('My item 100')
   Access:ITEMS.Update()
else
  ! some error message
end
THis sequence remains "in scope" as it processes it all together.

Hope this might help a little.
Ron





5
Web Server - Ask For Help / Table update Netwebform with popup memory forms
« Last post by JohanR on August 20, 2025, 11:56:16 PM »

Hi,

I have a table update FORM, the master.

On it I have a few buttons that call small popup forms that also update some of the same table fields, the popup form are memory forms.
These fields are sometimes display fields on the master FORM, sometimes not.

It all seems to work and the table fields from the popups are updated and saved, but still testing the process to make sure all is reliable.

The way I undestand is that the Table update form will write the record from the session variables?

Is there anything to follow to make this process 100% reliable?
eg. call a certain sync routine to ensure all is good?

Is there perhaps a webinar or resource that discusses simialr process that will be of use?


thanks

Johan
6
Quote
Sv should opena Discord server !!!

Bruce has created one.  It's fairly active.
7
Sv should opena Discord server !!!
8
Hi
news.softvelocity.com has become so slow it is not useable.   I am using Firefox and I can download the headers - however, I cannot retrieve any messages..... it just waits and waits.  I had set up a Clarion12 link but that doesn't seem to work for me.  Is this a Firebird issue or a newsgroup issue.   Is there a solution?
THanks,
Ron
9
Web Server - Ask For Help / Re: Icons for Menu
« Last post by rjolda on August 14, 2025, 09:28:49 AM »
SOLVED!
For Icon education look at NetTalk Webinar from Today - August 14, 2025. 
\Ron
10
Web Server - Ask For Help / Re: How to put a Linefeed in a Tooltip
« Last post by Johan de Klerk on August 14, 2025, 05:21:23 AM »
After a bit of searching I found this 2010 solution from Rob Mikkelsen to use: &#010;

https://www.nettalkcentral.com/forum/index.php?topic=1720.msg6457#msg6457

Works perfect in the Tooltip for the Linefeed.
Pages: [1] 2 3 ... 10