SSL::session

Description

Invalidates the current session. Specifically, this commands drops the current SSL session ID from the session cache to prevent reuse of the session.

Syntax

SSL::session invalidate

SSL::session invalidate

  • Invalidates the current session. Specifically, this command drops the current SSL session ID from the session cache to prevent reuse of the session.

Examples

when HTTP_REQUEST {
  if { [HTTP::uri] contains "/maint_mode" } {
    ## send content and die
    HTTP::respond 200 content $::error_html Connection Close
    event HTTP_REQUEST disable
    SSL::session invalidate
  }
}