Skip to content

Session cookie still sent for Rails 4 #5

@dkubb

Description

@dkubb

I'm not sure if you'd consider this a bug, but I noticed that even when I use session :off the session cookie is still returned in the response. This is under Rails 4.

In general, my reasoning for turning off sessions is so I can ensure a page doesn't use any session data when generating the content; thus making it cacheable. The presence of a Set-Cookie header in the response makes it so I either have to strip this out at some level of the stack, or figure out how to convince Rails to not set the cookie.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions