Expiration of sessions and publications, restoring of publications