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

Dikanio's avatar

Retrive laravel session data with native php

Hi i need help to create a session in laravel and then other application can retrive the session using native php

0 likes
4 replies
Tray2's avatar

I don't think it's even possible to share session. If it is, I really don't recommend it due to security issues.

Dikanio's avatar

thanks for your reply @Tray2, what i'm trying to do is if user log in to let's say A app, user doesn't have to re login in B app, if sharing session is not possible due to security issues then what is the best way to do that ??

Dikanio's avatar

Hi @robrogers3 thanks for your suggestion, but i still dont get it, does it means that i put the session data in the database and then the other app can access the data in the database, would you mind give some example on how to do it??

Please or to participate in this conversation.