note 123661 added to function.setcookie
| From: | AyushJain@php.net | Date: | Wed, 06 Mar 2019 08:21:15 +0000 |
| Subject: | note 123661 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-210327@lists.php.net to get a copy of this message | ||
Suppose, you are using Laravel's PHP artisan make:auth to handle authentication related aspects
in your project and now you want to manually customize the expiration time of remember-me token as
per your needs.
As you can see, it is, by default set to 5 years and that's literally huge and hence you may
want to customize it according to the needs of your project and we will be seeing how to do this in
this article.
https://fullstackgeek.blogspot.com/2019/02/modify-remember-me-expired-time-laravel.html
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.194 (proxied: 124.124.36.130)
----
Manual Page -- http://php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/123661
Del: integrated -- https://master.php.net/note/delete/123661/integrated
Del: useless -- https://master.php.net/note/delete/123661/useless
Del: bad code -- https://master.php.net/note/delete/123661/bad+code
Del: spam -- https://master.php.net/note/delete/123661/spam
Del: non-english -- https://master.php.net/note/delete/123661/non-english
Del: in docs -- https://master.php.net/note/delete/123661/in+docs
Del: other reasons-- https://master.php.net/note/delete/123661
Reject -- https://master.php.net/note/reject/123661
Search -- https://master.php.net/manage/user-notes.php