> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getSessionId

## [◆ ](https://docs.kinetica.com/content/api/cpp/classgpudb_1_1GPUdb/getsessionid.md#a1ce55e1793eba3dd5fdc7ac10dbc7fb2)getSessionId()

<table>
  <tr>
    <td>const std::string & gpudb::GPUdb::getSessionId </td>
    <td>(</td>

    <td />

    <td>)</td>
    <td> const</td>
  </tr>
</table>

Return the session ID sent with each request, under which the SQL #name temp tables this object creates are kept.&#x20;


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.