> ## 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.

# gpudb::DropSessionRequest

> gpudb::DropSessionRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb/dropsession#a87e3605b58acf4ec17c20a6d687e06a2">GPUdb::dropSession</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h">gpudb/protocol/drop\_session.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader">
            <div id="pub-methods" />

            Public Member Functions
          </h2>
        </td>
      </tr>

      <tr className="memitem:a1284090d9a01273c4b7d5ab130d58ae5" id="r_a1284090d9a01273c4b7d5ab130d58ae5">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a1284090d9a01273c4b7d5ab130d58ae5">DropSessionRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a1284090d9a01273c4b7d5ab130d58ae5">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1DropSessionRequest" title="A set of parameters for GPUdb::dropSession.">DropSessionRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a1284090d9a01273c4b7d5ab130d58ae5">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a6b208e2b7aeae5baa2f03a309a5f41ab" id="r_a6b208e2b7aeae5baa2f03a309a5f41ab">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a6b208e2b7aeae5baa2f03a309a5f41ab">DropSessionRequest</a> (const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a6b208e2b7aeae5baa2f03a309a5f41ab">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1DropSessionRequest" title="A set of parameters for GPUdb::dropSession.">DropSessionRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a6b208e2b7aeae5baa2f03a309a5f41ab">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader">
            <div id="pub-attribs" />

            Public Attributes
          </h2>
        </td>
      </tr>

      <tr className="memitem:aee1b3acbb91fe30d9f8148524afc1450" id="r_aee1b3acbb91fe30d9f8148524afc1450">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aee1b3acbb91fe30d9f8148524afc1450">options</a></td>
      </tr>

      <tr className="memdesc:aee1b3acbb91fe30d9f8148524afc1450">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:aee1b3acbb91fe30d9f8148524afc1450">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <div id="details" />

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb/dropsession#a87e3605b58acf4ec17c20a6d687e06a2">GPUdb::dropSession</a>. </p>
      <p>Ends the client session named by the X-Kinetica-Session HTTP header of this request, dropping every session temp table (a table created in SQL as #name) that belongs to it. Objects outside the session that depend on those tables are invalidated, not dropped.</p>
      <p>A client sends its session ID in the X-Kinetica-Session HTTP header to every endpoint (e.g., /execute/sql), and needs to call this endpoint only when a response's info map has carried session\_id\_used set to true.</p>
      <p>Only the user that owns the session, or a system administrator, may drop it. Dropping an unknown session is a no-op. </p>
      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h#L28">28</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h">drop\_session.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>

    <div id="a1284090d9a01273c4b7d5ab130d58ae5" />

    <h2 className="memtitle"><span className="permalink"><a href="#a1284090d9a01273c4b7d5ab130d58ae5">◆ </a></span>DropSessionRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::DropSessionRequest::DropSessionRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1DropSessionRequest" title="A set of parameters for GPUdb::dropSession.">DropSessionRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h#L33">33</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h">drop\_session.h</a>.</p>
      </div>
    </div>

    <div id="a6b208e2b7aeae5baa2f03a309a5f41ab" />

    <h2 className="memtitle"><span className="permalink"><a href="#a6b208e2b7aeae5baa2f03a309a5f41ab">◆ </a></span>DropSessionRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::DropSessionRequest::DropSessionRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">options\_</span></span></td>
                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1DropSessionRequest" title="A set of parameters for GPUdb::dropSession.">DropSessionRequest</a> object with the specified parameters. </p>

        <div className="dl params">
          <div className="dt">Parameters</div>

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>
                <td>Optional parameters. The default value is an empty map. </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h#L45">45</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h">drop\_session.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>

    <div id="aee1b3acbb91fe30d9f8148524afc1450" />

    <h2 className="memtitle"><span className="permalink"><a href="#aee1b3acbb91fe30d9f8148524afc1450">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::DropSessionRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h#L53">53</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h">drop\_session.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/drop_session.h">drop\_session.h</a></li>
    </ul>
  </div>
</div>


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