another version of session unserialization