Simple session implementation for working in distributed environment.