Pike v8.0 release 1738

Method SSL.Context()->decode_ticket()


Method decode_ticket

Session 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()