Working on shared session between client and server.