So, a session is a piece of data that is stored on the server for a certain time.
Imagine that you are using a file folder to store sessions. There must be a moment when old sessions need to be cleared. Since it is not possible to automatically check files every x hours, session files are checked for specific requests.
This parameter is the probability that this check will happen. In this case, 2 out of 100 for each request.
I think the only session driver that currently needs this is the database driver.
If you expand the vault when it is full, chances are that new sessions will not be able to start until the vault is empty.
If you put a repository on every request, all your requests will be very slow.
source share