Erlang module implements the functionality of http sessions