There are times when you want to disable cookie sessions for certain controllers only.
For example, in management screen A, session management is performed with active_record_store. In management screen B, for example, when session management is performed with devise token auth.
In this case, I want session management to work only on management screen A, but on management screen B also with active_record_store The session data will be written to the sessions table.
It is OK if you describe the following process on the controller for which you want to disable the session.
request.session_options[:skip] = true