Now that we have a pluggable authentication system (#1890878: Add modular authentication system, including Http Basic; deprecate global $user) we can remove session.inc.
There are three this to do here:
- Move functionality from session.inc to Drupal\Core\Authentication\Provider\Cookie. (Remove deprecated usage of
global $user) - Remove the file
session.inc - Make sure the authentication system gets loaded in case of install and update.
Comments
Comment #1
ParisLiakos commenteddoes not make sense imo. authentication system shouldnt know how to start/read/write sessions.
unfortunately, this is the correct way to remove session.inc: #1858196: [meta] Leverage Symfony Session components
Comment #2
znerol commented