get cookie doc