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

almalk3333's avatar

session data

i have saved data at session and i can get and save it and do what ever i want but when i try to open/login in the application from another browser this data gone what is the problem and how can i get share these data between browsers

0 likes
2 replies
mikefolsom's avatar

Sessions are maintained via cookies, which are unique to each browser. If you need to share that data between multiple browsers, you'll need to use another mechanism (i.e. store it in a database).

quickliketurtle's avatar

Generally, session cookies are stored in browser specific storage so they are not accessible between browsers.

Please or to participate in this conversation.