Implemented default session mechanism.