save ticket in cache