Welcome! Log In Create A New Profile

Advanced

Timeout in webdev

Posted by PETER ZHOU 
PETER ZHOU
Timeout in webdev
November 25, 2008 10:52AM
Hi,

How to control the timeout in webdev? is it in the IIS, webdev app server or some parameters or setting...

Generally, if it's without any activity from the end-user, webdev will "time-out" leaving some data not fully updated...

I think to prevent it, we need to control the "time-out".

Regards,

PETER ZHOU
IkBeen.pcs.crosspost
Re: Timeout in webdev
November 25, 2008 02:30PM
Hi Peter is easy load a webdev 12 administrator, pick a tab named
"Configuration" and in the group managing "session/queries" appear the
parameter that you need.

Bye,

Ik Been

PETER ZHOU escribió:
> Hi,
> How to control the timeout in webdev? is it in the IIS, webdev app server or some parameters or setting...
> Generally, if it's without any activity from the end-user, webdev will "time-out" leaving some data not fully updated...
> I think to prevent it, we need to control the "time-out".
> Regards,
> PETER ZHOU
>
Message forwarded from pcsoft.us.windev
Peter Holemans
Re: Re: Timeout in webdev
November 25, 2008 09:02PM
Hi,

You can even easily manage this in an elegant way.
For as long as the user has its browser open on the app have a timer browser procedure trigger a procedure on the server (AjaxExecuteAsynchronous) which will reset the time-out counter every time. This allows you to have a low time-out value on teh app server (say every 2 minutes) but keep users logged on as long as theyy have the app open in the browser side.

Just my 2 cents,

Peter
PETER ZHOU
Re: Re: Timeout in webdev
December 02, 2008 05:04AM
Quote
Peter H.
Hi,

You can even easily manage this in an elegant way.
For as long as the user has its browser open on the app have a timer browser procedure trigger a procedure on the server (AjaxExecuteAsynchronous) which will reset the time-out counter every time. This allows you to have a low time-out value on teh app server (say every 2 minutes) but keep users logged on as long as theyy have the app open in the browser side.

Just my 2 cents,

Peter

Peter Holemans

Thanks!

Quote from help "
// Is AJAX supported by the current browser ?
IF AJAXAvailable() = True THEN
// Run the server procedure ("MyProc")
// As soon as the result of the server procedure ("MyProc") becomes available,
// the browser procedure ("ProcResult") will be run
Res is int
Res = AJAXExecuteAsynchronous(MyProc, ProcResult)
// The following processes are run without waiting for the result
...
// Progress of the server procedure ("MyProc")
IF AJAXAsynchronousCallPending(Res) = True THEN
// Cancel the call to the browser procedure ("ProcResult")
// The result of the server procedure ("MyProc") will not be processed
AJAXCancelAsynchonousCall(Res)
END
ELSE
// Processes without using AJAX
...
END
"

Which embed point do i put this "AJAXExecuteAsynchronous" ?

Regards,

PETER ZHOU
PETER ZHOU
Re: Re: Timeout in webdev
December 09, 2008 03:41PM
Quote
PETER ZHOU
Quote
Peter H.
Hi,

You can even easily manage this in an elegant way.
For as long as the user has its browser open on the app have a timer browser procedure trigger a procedure on the server (AjaxExecuteAsynchronous) which will reset the time-out counter every time. This allows you to have a low time-out value on teh app server (say every 2 minutes) but keep users logged on as long as theyy have the app open in the browser side.

Just my 2 cents,

Peter

Peter Holemans

Thanks!

Quote from help "
// Is AJAX supported by the current browser ?
IF AJAXAvailable() = True THEN
// Run the server procedure ("MyProc")
// As soon as the result of the server procedure ("MyProc") becomes available,
// the browser procedure ("ProcResult") will be run
Res is int
Res = AJAXExecuteAsynchronous(MyProc, ProcResult)
// The following processes are run without waiting for the result
...
// Progress of the server procedure ("MyProc")
IF AJAXAsynchronousCallPending(Res) = True THEN
// Cancel the call to the browser procedure ("ProcResult")
// The result of the server procedure ("MyProc") will not be processed
AJAXCancelAsynchonousCall(Res)
END
ELSE
// Processes without using AJAX
...
END
"

Which embed point do i put this "AJAXExecuteAsynchronous" ?

Regards,

PETER ZHOU

Hi,

Can anyone tell me how to use "AJAXExecuteAsynchronous" to prevent timeout on the browser side?

Regards,

PETER ZHOU
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: