Tags: pbrant/framework
Tags
Fix "previously seen" check when handling AJAX/Comet session loss AJAX and Comet requests should only invoke their session loss handler the first two times a request is made for a given dead session ID. However, the "previously seen" session ID / request counter map was being updated for all requests, not just dead AJAX and Comet requests. The result was that if the user had made more than two Lift-handled requests in a given session (very likely), the session loss handler would not be invoked. Instead a 404 error would be returned. Change this to only update the "previously seen" map on dead AJAX and Comet requests.
PreviousNext