import string
import random


def generate_session_id(size=32, chars=string.ascii_letters+string.digits):
    """
    Generate session id - 32 length string
    with ascii letters and digits
    """
    return ''.join(random.choices(chars, k=size))