Session value always returns null while calling middleware for viewing logs. But while using the same middleware with some other routes the session value work. Tried with getting session value in middleware before calling curl request function as well as added get session value directly in curl request
Steps To Reproduce:
1) Add get session and assign it to variable, value of that variable will be null.
2) call any function from any file the session value will return null.
Update on above issue:
Added web in middleware before calling custom routes and it worked. Did backtrace and found the session was not started
Description:
Session value always returns null while calling middleware for viewing logs. But while using the same middleware with some other routes the session value work. Tried with getting session value in middleware before calling curl request function as well as added get session value directly in curl request
Steps To Reproduce:
1) Add get session and assign it to variable, value of that variable will be null. 2) call any function from any file the session value will return null.
Update on above issue:
Added web in middleware before calling custom routes and it worked. Did backtrace and found the session was not started