Skip to content

Allow to set alternative cookie name#3

Open
amedveshchek wants to merge 1 commit intogolangcollege:masterfrom
amedveshchek:alt_cookie_name
Open

Allow to set alternative cookie name#3
amedveshchek wants to merge 1 commit intogolangcollege:masterfrom
amedveshchek:alt_cookie_name

Conversation

@amedveshchek
Copy link
Copy Markdown

I really like this simple and yet powerful package, which I use in my project.

What I found impossible to do is:

  • to overcome the limit of collisions with other packages which already use their own session cookie;
  • also it would be nice to have a way to extend the 4096 bytes limit, by simply creating an additional cookie with another name.
  • from architectural perspective, it's also can be useful to logically separate cookies of different types: for session, for flash messages, for bookmarks etc.

In that relation I'm offering to add the following change.

@donchev7
Copy link
Copy Markdown

donchev7 commented Oct 2, 2022

Would be great to have this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants