apply session manager.