php8.5
Home/ Manual/ mysql_xdevapi / databaseobject/ DatabaseObject::getSession

DatabaseObject::getSession

PHP function Edit on GitHub ✎

Get session name

Description

mysql_xdevapi\DatabaseObject::getSession(): mysql_xdevapi\Session

Fetch session associated to the database object.

Func

Parameters Parameters

Return Values

The Session object.

Examples

mysql_xdevapi\DatabaseObject::getSession() example

php
<?php

$session = $dbObj->getSession();

?>

Source: reference/mysql_xdevapi/mysql_xdevapi/databaseobject/getsession.xml · from the official PHP manual (php/doc-en)