How to make the session have a code

Do you mind sending me your code that handles searching, joining, and hosting servers?