Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ershubham's avatar

How to prevent Session id to get re-generate after login

Hello there,

I am coding for ecommerce project the problem i am facing that the session id get regenerate after the Auth login is done,

that cause us to track the cart item. please help me the procedure how to save session id from getting regenerate.

thanks in advance

0 likes
5 replies
ershubham's avatar

laravel 5.4

i storing some data in session and when the login happen the session id get regrenerated

jlrdw's avatar

Check your session info in config.

Snapey's avatar

@fh-jashmore please note the date of posts when replying

Please or to participate in this conversation.