07-08-2021, 03:04 PM
(07-07-2021, 05:08 AM)debjit Wrote: To be frank I never used cookies. I have always relied on server season, it's more secure and does not take any extra effort. But laravel makes cookies more secure so no one can tamper with them. And when using livewire, it minimises the server request and reloads of the page.
That is awesome, I have used both, but they have their time and place. I use sessions for short term instances and cookies for long term instances such as appearance modifiers (dark mode etc).