[TYPO3-core] FYI24: 10066: AJAX relogin polls server too often
Xavier Perseguers
typo3 at perseguers.ch
Tue Jan 6 17:31:59 CET 2009
Hi Dmitry,
> This is SVN patch request.
>
> Type: tweak
>
> Branches: trunk
>
> BT reference: http://bugs.typo3.org/view.php?id=10066
>
> Problem: AJAX relogin script makes a request to the server every 10 seconds, which is not good because (1) it is too often and (2) it may have problems if the network is slow.
>
> Solution: poll once in 60 seconds and increase timeout value in the AjaxLogin class from 60 to 120 seconds. This way user will have 1 minute betwee the AJAX request and real timeout to press "Stay logged in".
You deleted a parameter "frequency: 10" without adding "frequency: 60".
Is this OK?
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-team-core
mailing list