Changes the http variable to a session