Cookie management for the session system.