Home Forum Download/Upload Links Search

NetTalk User Group

NetTalk User Group Meeting!
Live Webinar!
Saturday Nov. 16 
7am PST
Click Here To Register!
Home arrow Forum
NetTalk Central
March 29, 2015, 12:46:44 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the NetTalk Central Forums!
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2 3 ... 24
1  NetTalk Web Server / Web Server - Ask For Help / Re: Restrict users login instances on: March 26, 2015, 09:17:34 AM
Hallo Olu,


I do something similar just that I restrict user to 1 login/session...doesn't matter is mobile or desktop. Maybe I will let them also both (mobile and desktop)...but I don't see the reason.... When they login I check the incoming parameter to see if they come from a mobile or desktop and then I story in a table. (UserOnline). The problem is when they close the browser without to press logout button...well this way they need to wait until the session will expire automatically. (in my case is 17m)

This is the code to detect if they come from a mobile...

      IF INSTRING('Mobile',CLIP(p_web.RequestData.DataString),1,1) OR INSTRING('Android',CLIP(p_web.RequestData.DataString),1,1)
         AUTI:OnlineMobile = 1
       ELSE ! they come from a desktop
         AUTI:OnlineMobile = 2
      END

The code works ok and so far it's perfect for me. (I just do this for statistics)
Maybe you can modified the code and fetch to see if user is already connected to a desktop or a mobile, if connected then show a warning message if not then let him connect...

Hope this help you.

Regards,
Robert

2  NetTalk Web Server / Web Server - Ask For Help / Re: new features - Button to duplicate fields on: March 20, 2015, 06:59:27 AM
:-(  bad news! it was nice to copy fields...

Robert
3  NetTalk Web Server / Web Server - Ask For Help / Re: DCT Triggers vs Embed code on: March 20, 2015, 06:57:14 AM
Thank you for explanation.
NetTalk also use nice embeds for insert,update and delete (pre,post). The same like a trigger. This way I better choose NetTalk embeds.

Regards,
Robert
4  NetTalk Web Server / Web Server - Ask For Help / Re: Record primed form on: March 20, 2015, 06:13:17 AM
Hallo Bill,



Check this "Default Form Action" on manual. Maybe will help you.
http://www.capesoft.com/docs/NetTalk8/NetTalkWebFunctionality.htm#FormAdvancedTab

or
http://www.capesoft.com/docs/NetTalk8/NetTalkWebFAQ.htm#W4

A very good set of Q&A you will find here:
http://www.capesoft.com/docs/NetTalk8/NetTalkWebFAQ.htm

Robert
5  NetTalk Web Server / Web Server - Ask For Help / Re: calculate a hash string from all fields on: March 20, 2015, 05:56:55 AM
Thank you Bruce!
nice and clever  Wink

Robert
6  NetTalk Web Server / Web Server - Ask For Help / calculate a hash string from all fields on: March 20, 2015, 03:38:51 AM
Hallo,


I would like to add a hash field to keep the hash from all fields...and when a field has changed the hash changed and this way I know something has been changed and I do some process.
How can I loop trough all fields and create one big string and then generate a hash from that string?
I have also cryptonite but I don't know how to loop trough fields... :-(

thank you for any tips!

Robert
7  NetTalk Web Server / Web Server - Ask For Help / DCT Triggers vs Embed code on: March 20, 2015, 12:28:40 AM
Hallo,


In one project (TopSpeed database) I need to maintain a table with statistics from other table when Insert/Update or Delete occur. Sometimes there will be 30-50 concurrent user that insert/update/delete records. What will be a good way to go? To use trigger in DCT or embed code? ... will be trigger better for this scenario?
Also I saw that with trigger I cannot use p_web...

Thank you for any help/suggestions.

Regards,
Robert
8  NetTalk Web Server / Web Server - Ask For Help / new features - Button to duplicate fields on: March 19, 2015, 01:43:12 AM
Hallo Bruce,


Many times I have to duplicate fields and It's a lot of extra work to duplicate some fields like buttons with a lot of extra settings....
Is there a way to make a duplicate button for a selected field? :-) See attached image.
This will speed up a lot development with NetTalk.

Thank you!
Robert
9  NetTalk Web Server / Web Server - Ask For Help / Remove diacritics directly from webhandler on: December 05, 2014, 04:52:50 AM
Hallo,


I would like to remove diacritics if someone think to write. Very easy to do with StringTheory on validate Update Form. But then I saw that I have to repeat this for a lot of forms.. and it's a lot of work. Can I just test for diacritics somewhere on WebHandler embed? to check the incoming packet and if this is coming from a form and has diacritics inside to replace and continue. Is this possible?

Thank you for any help.

Regards,
Robert 
10  NetTalk Web Server / Web Server - Ask For Help / Re: Other button on a browse not execute embed code if open popup on: December 03, 2014, 08:38:57 PM
>>Because the browser is making "a request". The request to open the popup. If it also wanted to run some code on the server side, that would be a separate request. That's do'able (on my side) but is a bad idea because you can't guarantee which of the 2 requests will run first. So "setting" a value in one, and then "using" it in the other would work some of the time, but not at other times.

make sense. thank you. Maybe you can make the button disabled (to avoid confusion) in this case so we know that the button is not available in popup mode :-)
Didn't test the parameter in popup mode...but they works perfect. so I pass parameters now and it's ok.

Thank you,
Robert
11  NetTalk Web Server / Web Server - Ask For Help / Re: Tooltip with xHtml on: December 03, 2014, 08:32:52 PM
>Are they happy getting the data from the title attribute?
I don't think so but I have to ask them about that.... maybe I will have to search and find one that replace title correct?

Robert
12  NetTalk Web Server / Web Server - Ask For Help / Other button on a browse not execute embed code if open popup on: December 03, 2014, 12:33:24 AM
Hallo,


In a browse I have a button which open a popup form. The problem is that if I choose to open a popup form then the code I have in embed (Validate::Other18) will not execute... WHY? is this a limitation? or a bug? then how can I pass parameters to the popup window? any workaround please?

thank you for any help,
Robert
13  NetTalk Web Server / Web Server - Ask For Help / Re: How do I not to display a row not using a filter on: December 02, 2014, 11:56:35 PM
Hallo Terry,

try this in ValidateRecord:

if CLA:Images = 1 then CYCLE.

Robert
14  NetTalk Web Server / Web Server - Ask For Help / Re: Add Column to browse issue on: December 02, 2014, 05:21:42 AM
this I think it's not related to NT...It is related to Clarion9 latest build. It happens to me too and I revert back to build 11313 and everything back to normal.
Maybe you can test and see the effect.

regards,
Robert
15  NetTalk Web Server / Web Server - Ask For Help / Re: Tooltip with xHtml on: November 28, 2014, 03:04:03 AM
>Like say vTip. Is this what you are doing?
noo. I have another plugin. I don't know how to connect my plugin with NT like vTip... but if I could insert html code in title then it will works.
This one I bought: http://jqeasytooltip.j3dlab.com/

for images, text , ... works perfect but not for fields or buttons.

Thank you,
Robert
Pages: [1] 2 3 ... 24
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Login Form

Welcome Guest.






Lost Password?
No account yet? Register
home contact search contact search