(request)
return "{0:s}/{1:s}".format(uuid().hex, who(request))
Create a unique session id from the request

    Returns a unique session using ``uuid4()`` and a ``sha1()`` hash
    of the users IP Address and User Agent in the form of ``sid/who``.
Create a unique session id from the request
Create a unique session id from the request
def create_session(request):
    """Create a unique session id from the request

    Returns a unique session using ``uuid4()`` and a ``sha1()`` hash
    of the users IP Address and User Agent in the form of ``sid/who``.
    """

    return "{0:s}/{1:s}".format(uuid().hex, who(request))
def create_session ( request ) : return "{0:s}/{1:s}" . format ( uuid ( ) . hex , who ( request ) )