[TYPO3-core] FYI24: 10066: AJAX relogin polls server too often

Dmitry Dulepov dmitry at typo3.org
Tue Jan 6 17:26:41 CET 2009


Hi!

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".

-- 
Dmitry Dulepov
TYPO3 core team

Mr. Harris: People say that you were the last person to speak with Jordon...
            Is that true? 
Cameron: I don't know. Are you asking me if people say I was the last person
            to talk to Jordon? Or are you asking me if I was the last person
            to talk to her? 
Mr. Harris: I guess I'm asking if you were. 
Cameron: I don't know. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10066.diff
Type: text/x-diff
Size: 1669 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090106/30fc921e/attachment.diff 


More information about the TYPO3-team-core mailing list