![]() If your ACK cluster and Log Service belong to different Alibaba Cloud accounts, you must configure the ID of the Alibaba Cloud account to which your Log Service belongs as a user identifier for your cluster.If your ACK cluster is a dedicated Kubernetes cluster or a managed Kubernetes cluster, you can follow the instructions that are provided in this section to install Logtail components in your cluster.įor information about how to collect text logs and standard output (stdout) from containers in a serverless Kubernetes (ASK) cluster, see Use Log Service to collect application logs.You should call the extend method from the boot method of a service provider. To add additional drivers to Laravel's session backend, you may use the extend method provided by the Session facade. Once your driver has been implemented, you are ready to register it with Laravel. For self-expiring systems like Memcached and Redis, this method may be left empty. The gc method should destroy all session data that is older than the given $lifetime, which is a UNIX timestamp. ![]() The destroy method should remove the data associated with the $sessionId from persistent storage.Again, you should not perform any serialization - Laravel will have already handled that for you. The write method should write the given $data string associated with the $sessionId to some persistent storage system, such as MongoDB or another storage system of your choice.There is no need to do any serialization or other encoding when retrieving or storing session data in your driver, as Laravel will perform the serialization for you. The read method should return the string version of the session data associated with the given $sessionId. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |