Method SSL.Context()->decode_ticket()


Method decode_ticket

Session|zero decode_ticket(string(8bit) ticket)

Description

Decode a session ticket and return the corresponding session if valid or zero if invalid.

Note

The default implementation just calls lookup_session().

Override this function (and encode_ticket()) to implement server-side state-less session resumption.

See also

encode_ticket(), lookup_session()