Skip to content

Allow programmatically writing cookies during a session #14730

@lukasmasuch

Description

@lukasmasuch

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

Provide a native API that allows writing and reading cookies during a user session.

Why?

No response

How?

Provide st.cookies or st.context.cookies as a writable dict that syncs the cookies with the user browser of a given session.

Draft spec

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:utilitiesRelated to utility commandstype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions