Re: 4D Web Application and SAML or OpenID Connect

2019-11-08 Thread Keith White via 4D_Tech
Hi Thanks for all the responses.   As always, there is more than one way to do it. Looks like OpenID Connect may be simpler.  We've already got some OAuth code in use for external application interfaces. Best regards Keith White Synergist Express Ltd, UK. 4697775 **

4D Web Application and SAML or OpenID Connect

2019-11-04 Thread Keith White via 4D_Tech
Hi Has anyone done work on implementing either SAML or OpenID Connect protocol in native 4D code for single sign-on in 4D Web Applications? I know about 4D's work on single sign on using Active Directory and/or LDAP etc, but this question is specifically for SAML or OpenID Connect. Services

Re: Web aficionados - Not allow user to access file directly

2019-10-03 Thread Keith White via 4D_Tech
Hi For the HTML markup files, I suggest using the extension .shtml rather than .html For us any direct request for a .shtml file will trigger On Web Authentication and you can catch and reject the request. Doing that allows you to keep things simpler in a single folder and you don't have to w

RE: Stuffing a shared object

2019-07-16 Thread Keith White via 4D_Tech
Hi I know you've sorted out an elegant solution using CALL WORKER, but just in case you do need to copy to a shared object or collection in the future, please see https://kb.4d.com/assetid=78197 Best regards Keith White Synergist Express Ltd, UK. 4697775 ***

RE: V17R3 vs PowerShell

2019-06-03 Thread Keith White via 4D_Tech
Hi John > That is the only thing that makes sense to me. Do you know this for certain? Yes. Please see https://docs.microsoft.com/en-us/windows/desktop/winprog64/file-system-redirector > I had hoped that by having LEP display the console, I could tell which > version of PowerShell was run To

Re: V17R3 vs PowerShell

2019-06-01 Thread Keith White via 4D_Tech
Aloha John The reason that you think the 64-bit PowerShell is working is because actually the 32-bit PowerShell is still being used. When a 32-bit application (in this case 4D) accesses the system32 directory, those accesses are automatically redirected to the SysWow64 directory. So when you u

RE: Error connecting to 4D Server

2019-04-08 Thread Keith White via 4D_Tech
Hi there We first saw many of these symptoms with v16R6 using the new network layer.  Before that the only previous 4D version we'd used for a long time was v13.6 which didn't have the new network layer. Anyway, using v16R6 with the new network layer, we did get mass disconnections occurring

Re: v16R6 Crashing on Compile

2018-10-29 Thread Keith White via 4D_Tech
>What exactly constitutes a token in a method? Is it every "word" in the code? Tokens - I don't have a definitive list but I think 4D Commands, 4D Functions, Constants, Table names, Field Names. Variable names are not tokenised as far as I know, which is why we got the problem after replacin

Re: v16R6 Crashing on Compile

2018-10-26 Thread Keith White via 4D_Tech
Hi Jim Hope you are well. The compiler crash with v16R6 is a bug. Fixed only in v17 (ACI0098136). This one is caused when there are too many tokens in a method. In our case it started happening only on our development system after I had replaced a lot of IP variables with custom constants.

Re: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17?

2018-09-15 Thread Keith White via 4D_Tech
Hi GOTO SELECTED RECORD (or any ORDA equivalent of navigating record by record) will be slower than S2A but will take less RAM. That's based on actual experience. Building up a single big text thingy will have RAM (and eventually potentially performance) issues if using straight string/text c

Re: 4D Client as Web Server - Using same 4D Process if web access from diff. machines

2018-09-14 Thread Keith White via 4D_Tech
Hi That’s actually normal for a 4D Web Server. You’re not guaranteed to get a new process for each request. Web processes can be reused. I think there is a structure setting to control it when using 4D Remote as a web server, though I forget what it’s called. There is also a setting for 4D W

Re: Changes to variable initialization in v16?

2018-08-03 Thread Keith White via 4D_Tech
Interpreted vs Compiled:- If you are developing on an in-house database I can see the advantage. I guess you're being careful and have developed relevant approaches to avoid causing problems for live users. Performance with compiled really is a significant gain, but it depends what you need to

Re: [SAD NEWS] legendary developer and 4D base-rock Ortwin Zillgen

2018-02-27 Thread Keith White via 4D_Tech
This is sad news indeed. I have always visited whenever Ortwin posted something useful or informative here. I have learnt many things from him over the years. Here's an odd thing though - when I got to the office yesterday and logged in as normal, my Chrome browser automatically opened t

Re: Server Process "Frozen"-ish

2017-10-25 Thread Keith White via 4D_Tech
Hi David and Canon Wondered if you saw my guess/conjecture previously posted on this subject (not that it's much help !)...:- OK, so we think this is due to DELAY PROCESS. The change to DELAY PROCESS somewhere in 4D v15 was to change from a Longint to Real. But the problems didn't start unt

Re: Server Process "Frozen"-ish

2017-10-20 Thread Keith White via 4D_Tech
Hi OK, so we think this is due to DELAY PROCESS. The change to DELAY PROCESS somewhere in 4D v15 was to change from a Longint to Real. But the problems didn't start until v16, I think that's right. Anyway, I'm wondering if the problem is when either Tickcount, Milliseconds or another internal

RE: OBJECT get variable type

2017-09-12 Thread Keith White via 4D_Tech
Hi >@Piotr: can you report this in the 4D forum as feature request? So I can vote Object filters don't do the same thing because placeholders cause the problems Koen already outlined. Here is the link to the feature request for alpha variable length limit (I also asked for similar alpha/text a

Re: Facial Detection/recognition

2017-07-15 Thread Keith White via 4D_Tech
>Bal Clinton Brilliant! Best regards Keith White Synergist Express Ltd, UK ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mai

Re: How to trap a form save keystroke in an object method ?

2017-05-18 Thread Keith White via 4D_Tech
Does FILTER EVENT work in this context? Or REJECT(field) as someone has already suggested. Best regards Keith White Synergist Express Ltd, UK ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Limit input into alpha characters into variable

2017-05-15 Thread Keith White via 4D_Tech
Hi Many thanks for those answers. Whilst I'll be using a workaround, I've also logged a feature request. http://forums.4d.fr/Post/EN/19424825/1/19424826#19424826 Best regards Keith White Synergist Express Ltd, UK. ** 4D Intern

Limit input into alpha characters into variable

2017-05-12 Thread Keith White via 4D_Tech
Hi Is there a way to limit the number of characters you can impose on the user for alpha _variables_ (in a 4D form)? I tried using an entry filter, but that changes how the data is entered (you can only highlight one character at a time). Setting an entry format didn't seem to do it. I'm sur

Re: Components: How do you reuse utility code?

2017-04-21 Thread Keith White via 4D_Tech
>If they did care, some of these things could have been added instead of >querying on object fields that most people will eventually wish they didn’t >use in the first place. This made me smile a lot.I had exactly the same thought. It brings back memories of subtables which I'm sure every

Re: Questions about the 'Sum' function

2017-04-13 Thread Keith White via 4D_Tech
Hi Sum for a selection of another table doesn't work if used in "On Printing Detail" of an output form. So say you were printing a list of clients and you wanted to include on that list a total balance of invoices for each client. So you'd think:- QUERY([ClientInvoices]; blah blah blah..) nT

RE: 4D 15.4 HF1 (windows) - crashes when run as service

2017-03-09 Thread Keith White via 4D_Tech
>Reminder: it is not recommended to create user interface on 4D Server when >launched as a service Tim Is this meant as a reminder to 4D to not create a user interface for 4D Server? ;-) (4D may be working towards a headless 4D Server?) Retaining access to 4D Server's user interface is curr