Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
session.inc
»
drupal_save_session
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
17 calls to drupal_save_session()
ArgumentDefaultTest::test_plugin_argument_default_current_user
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
Views/
ArgumentDefaultTest.php
DrupalDateTimeTest::testDateTimezone
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Datetime/
DrupalDateTimeTest.php
Test that DrupalDateTime can detect the right timezone to use. Test with a variety of less commonly used timezone names to help ensure that the system timezone will be different than the stated timezones.
drupal_cron_run
in drupal/
core/
includes/
common.inc
Executes a cron run when called.
drupal_session_commit
in drupal/
core/
includes/
session.inc
Commits the current session, if necessary.
drupal_session_destroy_uid
in drupal/
core/
includes/
session.inc
Ends a specific user's session(s).
drupal_session_regenerate
in drupal/
core/
includes/
session.inc
Called when an anonymous user becomes authenticated or vice-versa.
FormatDateTest::testFormatDate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
FormatDateTest.php
Tests the
format_date
() function.
SessionTest::testSessionSaveRegenerate
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Session/
SessionTest.php
Tests for
drupal_save_session
() and
drupal_session_regenerate
().
TestBase::prepareEnvironment
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Prepares the current environment for running the test.
TestBase::tearDown
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Deletes created files, database tables, and reverts all environment changes.
UpgradePathTestBase::prepareD8Session
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
UpgradePathTestBase.php
Prepares the appropriate session for the release of Drupal being upgraded.
UpgradePathTestBase::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
UpgradePathTestBase.php
Overrides
Drupal\simpletest\WebTestBase::setUp
() for upgrade testing.
ValidatorTest::testFileValidateSize
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
ValidatorTest.php
Test
file_validate_size
().
_drupal_session_destroy
in drupal/
core/
includes/
session.inc
Session handler assigned by
session_set_save_handler
().
_drupal_session_write
in drupal/
core/
includes/
session.inc
Writes an entire session to the database (internal use only).
_session_test_no_set
in drupal/
core/
modules/
system/
tests/
modules/
session_test/
session_test.module
Menu callback: turns off session saving and then tries to save a value anyway.
_session_test_set_message_but_dont_save
in drupal/
core/
modules/
system/
tests/
modules/
session_test/
session_test.module
Menu callback, sets a message but call
drupal_save_session
(FALSE).