10000 Cookie::forever() dont work. · Issue #87 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

Cookie::forever() dont work. #87

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

Closed
PATROMO opened this issue Jan 17, 2013 · 2 comments
Closed

Cookie::forever() dont work. #87

PATROMO opened this issue Jan 17, 2013 · 2 comments

Comments

@PATROMO
Copy link
PATROMO commented Jan 17, 2013

I try Cookie::forever('test','test'); and nothing happens :-(

@eshell
Copy link
eshell commented Jan 18, 2013

similar issues:

  1. after authenticating, Auth::user() isnt remembered on page refresh.
  2. Session::put('k','v') doesn;t get saved either.
    tried with cookie and database drivers

@Sopamo
Copy link
Contributor
Sopamo commented Jan 18, 2013
  1. Session::put('k','v') works for me using the cookie driver.
    It seems like one has to manually bind the created cookie to the response as pointed out here: http://four.laravel.com/docs/responses#basic-responses
    When calling Cookie::make() I can't find anything in the code which actually sets the cookie.

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
0