JacksonRiver/springboard_modules — pull request #103 by benclark (2012-07-30 21:28:21+00:00)
Title: Check whether the $_SESSION['secure_prepopulate_values'] array is empty

Check whether the $_SESSION['secure_prepopulate_values'] array is empty after unsetting the $nid element.

Without unsetting this, $_SESSION will end up staying alive longer than needed, especially if the $_SESSION is otherwise empty. This will prevent Varnish from serving hits, and negatively impact performance. Pressflow is smart enough to destroy an empty session, but not smart enough to recurse the session array for empty values.

I noticed the sessions table on IFAW was filling up with serialized arrays containing an empty secure_prepopulate_values array.