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

Recreating cookies with per-request values isn't documented #33

Open
nwellnhof opened this issue Mar 22, 2015 · 2 comments
Open

Recreating cookies with per-request values isn't documented #33

nwellnhof opened this issue Mar 22, 2015 · 2 comments

Comments

@nwellnhof
Copy link

It's possible to recreate cookies with per-request values by setting change_id and one of the following keys in $env->{'psgix.session.options'}:

  • path
  • domain
  • expires
  • secure
  • httponly

This is useful to implement things like a "Remember me" option, for example, so I think it should be documented.

@blackprojects
Copy link

+1, in the documentation is now described only global mechanism for setting values, and it is very difficult to find a solution to implement "Remember me" in application.

@miyagawa
Copy link
Member

miyagawa commented May 4, 2015

If I understand it right, features like "Remember Me" should be implemented on top of Plack::Middleware::Session in the frameworks, rather than end users (app developers) mess with the $env variables.

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

No branches or pull requests

3 participants