Skip to content
Snippets Groups Projects
  • Jared Hancock's avatar
    session: Properly track new sessions · 3828a649
    Jared Hancock authored
    ee91d179 introduced a slightly different
    tracking system for detecting sessions. Instead of completely disabling the
    session system for AJAX and cron requests, it detects if the session is new
    or not based on the session_id() and existing data in the session backend.
    
    However, the patch did not correctly determine if a session was new.
    Instead, it flagged all session as existing. This patch fixes the detection
    of existing session data so that AJAX and cron requests can operate without
    writing session data to the backend.
    3828a649