Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

ResponseKeepSessionOpenInterface.php

Namespace

Drupal\Core\Session

File

core/lib/Drupal/Core/Session/ResponseKeepSessionOpenInterface.php

View source
<?php

namespace Drupal\Core\Session;


/**
 * Indicates that sessions for this response should be kept open after sending.
 *
 * By default, Drupal closes sessions as soon as the response is sent. If
 * a response implements this interface, Drupal will skip this behavior and
 * assume that the session will be closed manually later in the request.
 *
 * @see Drupal\Core\StackMiddleware\Session
 * @see Drupal\big_pipe\src\Render\BigPipeResponse
 * @internal
 */
interface ResponseKeepSessionOpenInterface {

}

Interfaces

Title Deprecated Summary
ResponseKeepSessionOpenInterface Indicates that sessions for this response should be kept open after sending.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal