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

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResponseKeepSessionOpenInterface.php

interface ResponseKeepSessionOpenInterface

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.

@internal

Hierarchy

  • interface \Drupal\Core\Session\ResponseKeepSessionOpenInterface

Expanded class hierarchy of ResponseKeepSessionOpenInterface

All classes that implement ResponseKeepSessionOpenInterface

See also

Drupal\Core\StackMiddleware\Session

Drupal\big_pipe\src\Render\BigPipeResponse

2 files declare their use of ResponseKeepSessionOpenInterface
BigPipeResponse.php in core/modules/big_pipe/src/Render/BigPipeResponse.php
Session.php in core/lib/Drupal/Core/StackMiddleware/Session.php

File

core/lib/Drupal/Core/Session/ResponseKeepSessionOpenInterface.php, line 16

Namespace

Drupal\Core\Session
View source
interface ResponseKeepSessionOpenInterface {

}

API Navigation

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