NetTalk Central

Recent Posts

Pages: [1] 2 3 ... 10
1
Web Server - Ask For Help / Re: _SessionQueue not found update from NT 11 to 12
« Last post by Bruce on October 24, 2021, 10:49:17 PM »
>> I am still concerned, though, that orphaned session memory table records will accumulate over time.

I am not sure what you mean by "orphaned session memory table records"?

Cheers
Bruce
2
Web Server - Ask For Help / Re: Secwin Custom attributes
« Last post by Bruce on October 24, 2021, 10:48:08 PM »
perhaps a good question for the Wednesday webinar so I can walk through it with you.
the key issue you seem to be stuck on is retrieving the attribute, which you can do with GetAttribute, not a local group in the Login procedure.

Cheers
Bruce
3
Web Server - Ask For Help / Re: Curl Command
« Last post by wasatchconsulting on October 24, 2021, 07:43:04 AM »
I actually ran across another post which showed the code for sending to this API.

      net.SetAllHeadersDefault()
      net.SetContentType('form')
      net.SetValue('api_key','xxxxxxxx')
      net.SetValue('api_secret','xxxxxxxxxxxxxxxx')
      st.SetValue(clip(pText))
      st.ToUnicode(st:EncodeUtf8,st:CP_WINDOWS_1258)

      net.SetValue('text',st.GetValue())
      net.SetValue('from','18339143526')
      net.SetValue('to',pNummer)
      net.Post('https://rest.nexmo.com/sms/json')

This worked. Thanks for the assistance.
Ken Watts
4
Web Server - Ask For Help / Re: Secwin Custom attributes
« Last post by lkeyser on October 24, 2021, 12:40:52 AM »
Thanks Bruce.

I created the same local group (AttributesGroup) with the same local variables in the SecwinLoginWeb procedure as in the SecwinUpdateUsersWeb procedure.
the same structure with the same variables but it does not "see" the values.

I'm missing the logic completely.  I just can't get my head around this. Getting data from a encrypted Json structure in a blod messes with my legacy brain.

Kind regards
Louis
5
Yes.  As a workaround I've hand-coded statements around the CanCall calls, and that seems to work ok.
6
Web Server - Ask For Help / Re: Update of web folder required - NT 10.45
« Last post by Manuel on October 22, 2021, 01:49:59 PM »
It works!!!!

Thanks,
Regards
Manuel
7
Web Server - Ask For Help / Re: Update of web folder required - NT 10.45
« Last post by michelis on October 22, 2021, 01:14:06 PM »
Locate netweb.js in your web/scripts folder, open it and change the NetTalkVersion in the first row.
8
Web Server - Ask For Help / Update of web folder required - NT 10.45
« Last post by Manuel on October 22, 2021, 11:44:38 AM »
Hi

I've tried with web43 and web53 NT examples and got the message:

Update of web folder required - Try pressing ctrl+f5 -Server is on version 10.45 but web folder is on version 10.46. However, 10.45 is the latest available version for download.

After Pressing ctrl + f5 still shows the message.

Turning "auto-check cached files" on and off doesn't fix it. (web server > extensions > thisWebServer > settings > perfomance).

I've deleted the c:\Clarion11\accessory\libsrc\win\NetWeb\ ,installed and compiled, without success.   

C11.0.13505 - NT 10.45

TIA
Manuel
9
Web Server - Ask For Help / Re: Curl Command
« Last post by michelis on October 22, 2021, 10:28:58 AM »
May be you copy the json and did not realized it has, may be, two typos
  str.SetValue('{{"from":":"18339143526","text":"A text message sent using the Vonage SMS API", to":"18015575583","api_key":"74ab237f","api_secret":"s1n2GPpsWr0QBd2M"}')
should be
  str.SetValue('{{"from":"18339143526","text":"A text message sent using the Vonage SMS API","to":"18015575583","api_key":"74ab237f","api_secret":"s1n2GPpsWr0QBd2M"}')
10
Web Server - Ask For Help / Re: _SessionQueue not found update from NT 11 to 12
« Last post by CaseyR on October 22, 2021, 10:27:44 AM »
Hi,

I have replaced my session cleanup code with the new session manager template.  Great.

I am still concerned, though, that orphaned session memory table records will accumulate over time. If my installations were being restarted every day or even every week this wouldn't be an issue, but some of them run for months without a restart.  It was my orphan clean out methods that encountered the original 'not found' compiler error.

I looked through the new netwebsessions code, but couldn't get anything to work for me. So, how do I query whether a specific SessionID corresponds to an entry in the SessionQueue?

Many thanks.
Pages: [1] 2 3 ... 10