Support manually roll the cookie?
See original GitHub issueTo extend the session in the client side, by now I have to set the rolling
field to true
, but that would cause every request carries the set cookie header.
Could provide a method such as req.session.rollCookie()
which allow us roll client side cookie manually?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:8 (4 by maintainers)
Top Results From Across the Web
The Best, Least Messy Way to Roll Out Cookie Dough
Rolling cookie dough out can be a messy job. Skip the flour entirely and opt for this parchment paper method instead.
Read more >How to Roll Out Cookie Dough Evenly (6 Must-Try Tips)
Tip 1 – Find a Flat Surface · Tip 2 – Form Your Dough · Tip 3 – Sandwich Your Dough · Tip...
Read more >How to Use a Cookie Press: 11 Steps (with Pictures) - wikiHow
1. Roll your cookie dough into a log. Your cookie dough needs to be log shaped so it's thin enough to fit into...
Read more >Dough Sheeter Demo and Review - The Colorful Cookie
Instead of rolling too much dough manually, this will literally help you be "Rolling in the dough!" Customer service is excellent and if ......
Read more >Turn cookies on or off - Computer - Google Account Help
On your computer, open Chrome. · At the top right, click More More and then Settings. · Under "Privacy and security," click Site...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Piccirello I think this is a different use-case. For example, with static files, it probably isn’t just that you don’t want to roll the cookie, but do you even need to go through all the work to load the session at all? If you structure to not invoke the session middleware for static assets, it would not only not roll on those responses, but skip all the work of loading the session in those cases as well.
To clarify: you want the behavior of
rolling: true
, but you just want to be able to choose which responses will have theset-cookie
header instead of every response, is that correct?