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

Pages: 1 [2] 3 4 ... 125
16
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« on: June 15, 2024, 07:21:02 AM »
Talking about the timer it works ok, but it is not disconecting the session anymore.


BTW: Excelent idea Jane !!!

17
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« on: June 14, 2024, 07:06:37 AM »
TEsted, session manager and timer work ok but the session is not disconected anymore.
Session manager goes to the defaultpage, click to login, all session values are intact, still logged in.

18
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« on: June 14, 2024, 05:06:27 AM »
Beware that...
suppouse the session timeout works ok and it fires at the same time as the deletesession
If the timeout is reached
and the user is on another tab when it happens
what happens if the session manager expire/continue messsage is active?
the activate option should not be possible because the session is deleted

19
Web Server - Ask For Help / Re: Button ID or class for CSS
« on: June 14, 2024, 04:59:19 AM »
see pic

20
Web Server - Ask For Help / Re: Button ID or class for CSS
« on: June 14, 2024, 04:27:57 AM »
You can add a class to the button in the CSS tab and define this new class in your css

21
Web Server - Ask For Help / Re: PageFooter Session Manager issue
« on: June 14, 2024, 04:06:05 AM »
THis, Jane, is a grate idea! thanks

22
Web Server - Ask For Help / Re: Desktop app or Service
« on: June 12, 2024, 09:04:20 AM »
May be...

How to Know If the Exe is Running as a Service
The easiest way to know if your app is running as a service is to test System{'ss:AmService'}. This is set to true when the program is in service mode. For example;

If System{'ss:AmService'} = true
  ! in service mode
End

This approach only works if you are using Clarion 10.11975 or later.
The advantage of this approach is that the code is system-global, meaning it'll work in pre-compiled DLL's, classes with no access to global data and so on.

If you are using an older build of Clarion then we recommend either (a) upgrading, or following one of the steps described in Destroy Controls above.

23
Web Server - Ask For Help / Re: Passing parameters on a Button
« on: June 12, 2024, 09:01:58 AM »
May be you have to use:

'GID=' & FIL1:GUID & '&FROMTABLE =' & 'Table1'

24
Web Server - Ask For Help / PageFooter Session Manager issue
« on: June 11, 2024, 10:55:38 AM »
Hi,
session manager set in the pagefooter to go to the IndexPage
server timeout, lets say, set to 00:30
The user logs in and go to a browse, the session timer runs ok
If the user change the browser tab, the timer of the initial tab stops running or runs slow,
so, all the time the user is in another tab is not discounted from the session timer
But this does not happen to the internal delete session process timer
So the session is deleted by the server before the session manager timer reachs 0
And when the user goes to the initial tab, the last page is still there, the timer shows it left 00:15, but its session is deleted,
then when the user clicks on any control
It is redirect to the Login Page instead of the IndexPage
And this cause problems like...
If the user logs in again, its redirect to the last browse, the user clicks on change and the form appears all blanked.


25
Sorry Bruce, forget it, I was wrong.

26
It redirect to the selected page but it does not disconects the session.

Theres no need to attach an example, steps to reproduce:
Open BasicWithLogin (3) example
Goto the PageFooterTag and change the "Goto URL" from p_web.site.DefaultPage to 'LoginPage'
(using LoginFrom is better to see the effect)
Compile and Run
Set the Session Timeout to 00:01 to be faster
Login using demo/demo, the Browse menu appears
Wait 30 seconds for the session window, click on End Session 
You will be redirected to the LoginForm but...
- the Browse menu is still there and you can click and enter any of the browse menu items.
- the Session timer is still running in the footer



27
HI, the Drop control has a template opction to translate or not its possible values.
See pic.
It does not work, it always translate.

Problem is in netweb.tpw line 7807

28
Web Server - Ask For Help / Re: Colon cleansing?
« on: May 18, 2024, 04:33:40 AM »
Mi vote is... to allow colons when you are not using labels.

29
Hi Jane, same problem in 14.20

30
JohanR,
I would call the NtWebClient before the memory form call, if you call it in the generate form it will be called many times.
And you can use a media field in the memory form to include the CC form (using its url) in your page.
Hope this helps

Pages: 1 [2] 3 4 ... 125