Most people remember everything that went on while they were in hypnosis.  Certain individuals will occasionally enter a particularly deep state, where they seemingly tune out portions of what happened.  At the same time, they often recall when informed about what happened.