FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Implementing a timer which runs server code
Implementing a timer which runs server code
Iniciado por Deon, 16,oct. 2013 08:14 - 2 respuestas
Conéctese…
Deon
#1
Publicado el 16,octubre 2013 - 08:14
I am using WinDev 18. I have developed pages with a timer control which executes browser code. This works fine, but I need to use a timer to refresh a query (which is server code) The manual explains that a timer cannot be used for running server code, and refers to a method that will handle server code from a timer. The question is - Where is this method?. How do I do it?
Anyone with a suggestion?
Informar
0
0
Fabrice Harari
#2
Publicado el 16,octubre 2013 - 13:45
Hi Deon
you have 2 possibilities in both case with a browser timer:
-either you use executeprocess from inside the timer code to run a
button click code (both browser AND server, possibily in ajax mode)
-or you use ajaxexecute/ajaxexecuteAsynchronous in your browser/timer code
First one will give you the possibility to refresh complex structures
(tables/loopers...) easily in the server code
Second will allow running code on the server with minimum traffic, and
is perfect when you don't need to refresh a LOT of controls
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
More information on
http://www.fabriceharari.com
On 10/16/2013 12:14 AM, Deon wrote:
I am using WinDev 18. I have developed pages with a timer control which
executes browser code. This works fine, but I need to use a timer to
refresh a query (which is server code) The manual explains that a timer
cannot be used for running server code, and refers to a method that will
handle server code from a timer. The question is - Where is this
method?. How do I do it?
Anyone with a suggestion?
Informar
0
0
Deon
#3
Publicado el 31,octubre 2013 - 07:11
Thanks Fabrice,
I will definitely try out both these options.
Thank You for the feedback
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto