NetTalk Central

Recent Posts

Pages: 1 ... 7 8 [9] 10
81
Web Server - Ask For Help / Re: Best way to recover from web-folder out of sync
« Last post by Bruce on March 18, 2024, 06:25:18 PM »
Poul,

most likely you have either;
a) not deployed from your development machine correctly or
b) not run GzipAll.Bat, and deployed the web folder correctly.

If you look inside \scripts\netweb.js and \scripts\all.js you'll be able to see the nettalkversion.
82
Web Server - Ask For Help / Re: Best way to recover from web-folder out of sync
« Last post by Bruce on March 18, 2024, 06:23:51 PM »
>> On the Site Tab - 4th field down:  "Web Folder"  - THIS HAS TO BE the LOCATION THAT YOUR APP IS RUNNING FROM.

This is inaccurate Ron.
The web folder can be anywhere. (Obviously it must be where you are updating.)
83
Web Server - Ask For Help / Re: Using String Theory "StartsWith" in a report
« Last post by Bruce on March 18, 2024, 06:21:47 PM »
st.SetValue(p_web.GSV(' loc:value'))
IF  st.StartsWith(p_web.GSV('loc:value'))

you're using loc:value on both sides of the IF statement here.
(also a type in the first GSV)
84
Web Server - Ask For Help / Re: Heading on a form / TABLE form on a MEMORY form?
« Last post by Bruce on March 18, 2024, 06:20:28 PM »
Your form-in-a-form is fine, as long as the memory form has the option to "include <form> tag" set off.

Regarding the header, it depends on whether the form is in popup mode or page mode.
85
Web Server - Ask For Help / Re: User feedback?
« Last post by Bruce on March 18, 2024, 06:18:58 PM »
I think you're overthinking it. The Save and Cancel buttons on the form (perhaps with different text) will do you fine.
86
Web Server - Ask For Help / Re: File disconnection or denial of service issue
« Last post by Stu on March 18, 2024, 03:33:53 PM »
For a long time I had trouble with disconnects, or what looked like disconnects.

I implemented the "disconnect after X period of time inactivity" - whatever "inactivity" consists of (I think I use some of the nettalk webserver counters that Bruce showed me).

Also looked into Rick's solution, which is awesome (but that I couldn't get working, and on zooming with Rick discovered it wasn't going to solve what the root issue looked like).

In the end, what (completely) solved the specific sql connection issues I was facing was upgrading my Clarion 11 to the latest version.

At some point between the version I had and the latest, one or more SQL bugs were squashed that resolved what was plaguing my websever instances.

--

The user story was that they would be working and the system would "Freeze".

On investigation, at a time I was logged in and active, it was clear that there was a threading/connection situation going on, as you could navigate around to some places in the portal, but others would hang.

This along with discussions with Bruce and Rick, led me to upgrade my Clarion - which ended up solving this particular thing.
87
Web Server - Ask For Help / Re: File disconnection or denial of service issue
« Last post by Jane on March 18, 2024, 10:14:56 AM »
I've implemented the old SQL disconnect stuff Rick described in the old 2020 CIDC conference and it works brilliantly.

Generally, Clarion apps share a single SQL connection across threads.  Rick creates a separate transitory connection as each new p_web thread needs it.
It does add some SQL overhead because of his approach to the frequency with which it disconnects, but that doesn't impact my apps negatively.

You could, of course, modify Rick's approach and just disconnect prophylactically at times you feel appropriate.

88
Web Server - Ask For Help / Re: File disconnection or denial of service issue
« Last post by TimR on March 18, 2024, 09:30:54 AM »
I have not implemented any prop:disconnect techniques, I spent some time searching for them, but they appear to be in an old (2020?) CIDC conference session, so I didn't have any idea what they were about. I will continue looking.
89
Web Server - Ask For Help / Re: Using String Theory "StartsWith" in a report
« Last post by Richard I on March 18, 2024, 12:19:05 AM »
Thanks Rene,

Yes I didnt bother to include the detail of the LOOP , just wanted to impart the st, code used.
Thanks for replying
 Richard
90
Web Server - Ask For Help / Re: Best way to recover from web-folder out of sync
« Last post by Poul Jensen on March 18, 2024, 12:01:15 AM »
Hi Ron,

In that field I have:  C:\pstellar7\MariSoft\web

But the NT exe is in:  C:\pstellar7\MariSoft

so the current entry is wrong ?

Cheers
/Poul
Pages: 1 ... 7 8 [9] 10