Support the ongoing development of Laravel.io →
posted 9 years ago
Session
Last updated 1 year ago.
0

I set cookie life to 1 min.. so cookies are getting clean and not creating bad request on the server. I use cookie so I can show form error..

I see laravel performing poor in case of error handling and session management. .

Last updated 1 year ago.
0

I dont know why laravel is creating cookie with random name .. why need to cookies.

Last updated 1 year ago.
0

Hello mahenn,

  1. it will regenerate if you set cookie on a function that is called everytime, say onload...
  2. cookie names are session_id, try to check your file in app/storage/sessions, you will see that the Session::getId() and the filename is the same...
Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mahenn mahenn Joined 5 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.