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 - rainerwallenius

Pages: [1] 2 3 ... 5
1
Web Server - Ask For Help / Re: NetTalk 12 and threads
« on: December 16, 2021, 12:48:04 AM »
Hi Vinnie

Thanks, that worked like a charm!
From priority 5001 to 4999

:: rainer

2
Web Server - Ask For Help / NetTalk 12 and threads
« on: December 15, 2021, 10:33:42 PM »
Hi all!

To serve many users at the same time, I set global filenames in Webhandler processlink. If I use THREAD files and filenames this does not seem to work anymore in NT12. Any idea What have I missed?

Thanks again
:: rainer

3
Web Server - Ask For Help / Re: Base64 Encode and Decode
« on: May 02, 2021, 09:10:41 PM »
Hi Mike

Try NoWrap, that solved my situation

:: rainer

4
Hi Donn

You can check p_web.formsettings.action = Net:ChangeRecord (or Net:ChangeRecord, Net:CopyRecord etc)

About detecting changes in data:
In procedure data I have added a line:

OrigRecord   LIKE(XXX:Record),Pre(XXXO)

in preupdate I have:
p_web.ssv('OrigRecord',XXX:Record)

in validateupdate-embed:

OrigRecord = p_web.gsv('OrigRecord')
then check id OrigRecord <> XXX:Record then add the changestring to your field

in ValidateInsert:
Just put your change-string in appropriate field

It's good enough for my needs.

:: rainer

5
Hi,

If I remove the child, the delete functions as normal.
Must be something funny with the child. btw, the child is a form that contains the child browse, perhaps that's causing the anomality.
I decided to skip the delete-functionality alltogether and will add it to a set of tools that gives the user possbility to delete all selected.

If I find out something, I will post here

:: rainer

6
Hi all

A little mystery here. Have converted my app from NT9 to NT11 successfully. One of my browses has child records. When a record is deleted, it actually deletes two records. No obvious reason, at least not what I could think of. Please, any directions would be appreciated.

Thanks
:: rainer

7
Web Server - Ask For Help / Re: OPENSSL -problem with pem-files
« on: January 19, 2020, 06:14:38 AM »
Hi

You're of course right, not a good idea running both versions in same directory.
The only problem was the pem-files, With them, new version runs fine, without them, the old version.
I have tweaked the program so now I can run them form different folders and still share same data.

Thanks for the response.

:: rainer

8
Web Server - Ask For Help / OPENSSL -problem with pem-files
« on: January 16, 2020, 03:47:56 AM »
Hi all

I have a showstopper here. I am finally switching from NT9 to NT11.

I need to put new version in piloting. For piloting purposes, I should use the same directory as the current version, mostly because of all data is relative to the application directory.

If I copy caroot.pem and dh2048.pem -files into application directory (and everything else), the NT11 -version runs fine. But the NT9 -version won't start anymore, I get and OPENSSL -error (OpenSSL_Uplink(24091000,09): No OPENSSL_Applink). If I rename the PEM-files, they will run.

My question is: What can I do to be able to run both versions at the same time from the same directory?

Any comments are appreciated

:: rainer

9
Hi Richard

I use Column condition in Column-tab on the field. Column-tab is behind Header-tab

:: rainer

10
Web Server - Ask For Help / Re: Too many segdef in file:1F,4000
« on: March 19, 2019, 11:54:51 AM »
I see this often

Try to redistribute modules
Try using suppressing comments
I have one procedure where I can add a field only if I remove another :)

There are probably more ways of recovering...

:: rainer


11
Hi Bruce

Nettalk 9.18
StringTheory 2.53
Clarion 10

:: rainer

12
Thanks Matthew.

Excellent idea. "Save server state between runs" is off. That is not the solution here.

Still fumbling...

13
Hi Ren

No queue,
Login-fields are local variables

Thanks for the idea though.

There are over 20000 logins per month so this is not usual behaviour.

14
Hi guys.

Never sen this before but this has now happened once and most likely at least another time.
A user enters login-page.
Suddenly user sees a completely other users username and the password is also set.
The users are from completely different organisations and there is no possibility that the username/pw has been used on the computer.

I can not think of anything else than the session has somehow been transferred from one connection to another.

This has caused major concernes in our organsation. Any ideas would be appreciated.

:: rainer

Nettalk 9.18
StringTheory 2.53
Clarion 10


15
Web Server - Ask For Help / Re: Multi Language APP
« on: April 09, 2018, 01:20:46 AM »
Hi Niels

I have added my own translation code in webhandler
Like
    if ReturnValue = 'Yes' then ReturnValue = 'Ja'.
    if ReturnValue = 'No' then ReturnValue = 'Nej'.

Default language is swedish

After that I run all strings through my own translate-function

ReturnValue = Mytranslate(ReturnValue,self.gsv('language'))

The function reads a translation-table keyed on the deafult language and returns the calue based on the sessionvalue on language

This takes care of all strings.

:: rainer

Pages: [1] 2 3 ... 5