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

Remove sessions from the context&apos;s internal cache that have expired by `tm&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SSL&lowbar;CTX&lowbar;flush&lowbar;sessions(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    long tm);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose session cache is scanned&period;
| *tm*
| Expiration cutoff time (usually time(0))&semi; sessions expired at or before this time are removed&period;
|===


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