Store Temporary Sensitive Data In Rails 4 -
i'm working on rails app i'm having trouble implementing solution storing temporary data , automatically clearing when user sees it. thought using flash works when user visits via next request. im looking let user browse site , view other things once page such /example/, see temporary sensitive data, next time reload page or go somewhere else , come permanently gone. suggestions?
redis fastest , simplest solution (but not such simple flash notices). redis have built in lpop
method list , remove after that. think not find solution not require setup (e.g. redis installation)
Comments
Post a Comment