Can you send a few more screenshots of the request? It’s normal here. In the same session, the sessionId is the same for every request;
As for the lottery in the configuration item, it represents the probability of invalid data cleaning in the database session; in the StartSessionmiddleware, in such a sentence
Indicates that there is a 1% probability that the expired and invalid sessiondata in the database will be cleared; it has nothing to do with this session sessiondata;
Can you send a few more screenshots of the request? It’s normal here. In the same session, the sessionId is the same for every request;
As for the
lottery
in the configuration item, it represents the probability of invalid data cleaning in the databasesession
; in theStartSession
middleware, in such a sentenceIndicates that there is a 1% probability that the expired and invalid
session
data in the database will be cleared; it has nothing to do with this sessionsession
data;Where is the
id
? This is the wholesession
.After decoding, it’s Jiang Zi
You can’t just say the problem, you have to post the corresponding configuration file, otherwise we can only guess, which is very inefficient...
Let’s take a look at the auth source code to find the answer
The session in laravel is these data