I have found this question: Cookie overflow in rails application? And in accepted answer in punkt 3 there is this: (App)::Application.config.session_store :cookie_store, :key => 'xxx'
How do I get this 'xxx' key?
Rails.application.config.session_options[:key]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.