Read and Save attributes with cookie