[TYPO3-dev] how to enlarge the BE-timeout interactively?
bernd wilke
t3ng at bernd-wilke.net
Tue Mar 25 08:29:17 CET 2014
Am 24.03.14 17:52, schrieb Philipp Gampe:
> Hi bernd wilke,
>
> bernd wilke wrote:
>
>> is there a (javascript?) function to call to reset the timeout until
>> logout
>
> There is a JS popup that should do just that. So maybe you can hunt down
> that piece of code and reuse it for yourself.
I did not found the popup but looking to the console.log I noticed an
ajax-calls like
.../typo3/ajax.php?_dc=1395730487290&ajaxID=BackendLogin%3A%3AisTimedOut&skipSessionUpdate=1
.../typo3/ajax.php?_dc=1395731245855&ajaxID=BackendLogin%3A%3AisTimedOut&skipSessionUpdate=1
I don't found the origin of these calls.
the first parameter (_dc) contains a timestamp + three digits which
might be a microseconds timestamp
searching the source for 'BackendLogin::isTimedOut' lead me to
typo3/js/loginrefresh.js and calling every now and then
TYPO3.loginRefresh.startTimer();
seems to solve my problem
but I might be fooled as I did not set BE-timeout to a very small value
to check explicit.
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-dev
mailing list