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

adrian7's avatar

Is there a way to clone the session in Laravel?

Basically I need to copy all the data from the current session to another one and then generate a new ID for the second one.

Is there a way to do this in Laravel?

Thanks.

0 likes
2 replies
bugsysha's avatar

When do you need something like that? Can't imagine scenario where you would need something like that.

Please or to participate in this conversation.