Lines Matching refs:session
5 SSL_CTX_set_session_cache_mode, SSL_CTX_get_session_cache_mode - enable/disable session caching
16 SSL_CTX_set_session_cache_mode() enables/disables session caching
28 In order to reuse a session, a client must send the session's id to the
30 agrees to reuse the session or it starts a full handshake (to create a new
31 session).
33 A server will look up the session in its internal session storage. If the
34 session is not found in internal storage or lookups for the internal storage
38 Since a client may try to reuse a session intended for use in a different
39 context, the session id context must be set by the server (see
42 The following session cache modes and modifiers are available:
48 No session caching for client or server takes place.
52 Client sessions are added to the session cache. As there is no reliable way
53 for the OpenSSL library to know whether a session should be reused or which
54 session to choose (due to the abstract BIO layer the SSL engine does not
55 have details about the connection), the application must select the session
61 Server sessions are added to the session cache. When a client proposes a
62 session to be reused, the server looks for the corresponding session in (first)
63 the internal session cache (unless SSL_SESS_CACHE_NO_INTERNAL_LOOKUP is set),
64 then (second) in the external cache if available. If the session is found, the
65 server will try to reuse the session. This is the default.
73 Normally the session cache is checked for expired sessions every
83 By setting this flag, session-resume operations in an SSL/TLS server will not
85 automatically stored there. If external session caching callbacks are in use,
94 Normally a new session is added to the internal cache as well as any external
95 session caching (callback) that is configured for the SSL_CTX. This flag will
99 session lookups in the external cache (i.e. for session-resume requests) would
110 Updates the timestamp of the session when it is used, increasing the lifespan
111 of the session. The session timeout applies to last use, rather then creation