How to stop Rails from setting a session cookie

Recently I was working on a Rails API and I wanted to stop Rails from setting it's _session cookie for API requests.Since these requests are authenticated via an API token, there's no reason for the cookie to be returned to the user.
How to stop Rails from setting a session cookie #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/how-to-stop-rails-from-setting-a-session-cookie

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles