[#SSL_CTX_sessions]
= SSL&lowbar;CTX&lowbar;sessions
:mrdocs:

Return a pointer to the context&apos;s internal SSL&lowbar;SESSION LHASH cache&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:lhash_st_SSL_SESSION.adoc[lhash&lowbar;st&lowbar;SSL&lowbar;SESSION]*
SSL&lowbar;CTX&lowbar;sessions(xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx);
----

== Return Value

Pointer to the internal LHASH&semi; do not modify it directly—use SSL&lowbar;CTX&lowbar;add&lowbar;session and related APIs&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose session cache is accessed&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
