S
S
Samuello2019-12-22 22:07:16
Laravel
Samuello, 2019-12-22 22:07:16

Why sessions are buggy in Laravel?

Hello, my sessions in lara are stupid, that is, if you save something in a session in one controller and call it in another, then lara tells me that it is not there.
I save it , everything works
5dffbd2d28247820745420.png
5dffbdbcdc0ab231379610.png
I call it in another controller, it doesn’t work I
5dffbd840652f276968475.png
5dffbddf279cb929404990.png
thought that the sessions don’t work at all, but if you do this, then the
5dffbe42aeb18514394383.png
5dffbe6fb2bd2363990502.png
Server restarted normally, cleared the cache, cleared cookies in the browser. Help, pliz

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Barsukov, 2019-12-23
@Samuello

you have a route in api that does not hold sessions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question