Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: is it possible to create a session-surviving cookie with plumber? #87

Rainer-Kempkes opened this issue Apr 7, 2017 · 1 comment


Copy link

Rainer-Kempkes commented Apr 7, 2017

Hi Jeff,
first I want to thank you for the plumber package - really great work!!
Is it possible to create a cookie with plumber that survives the current session in order to store f.e. something like a permanent visitor-id to track returning users?

Currently I create session cookies with
r$addGlobalProcessor(sessionCookie( "mySecret", "myCookie"))

Copy link

trestletech commented Apr 7, 2017

It is not at the moment, but now that you remind me that seems like a pretty gross omission.

I have a TODO for it here:

It wouldn't be too painful to add this as a parameter to setCookie and cookieToStr but I'm not sure when I'd be able to get to it.

PRs welcome!

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

No branches or pull requests

2 participants