I have a question about using sessions. I'm building a dynamic query system to grab data coming from my database when I click on a link, each link passes an id through the URL. In the page where the magic happens, I get the ID by the _GET method and step it via _SESSION to the "processes" page to get it and list which products belong to the "x" ID. However, when I open two links at the same time, when I use the field to search dynamically, one ends up searching the id of the other. For example:
I opened the link where it should show items with ID 1, I minimized this window and then opened another link with ID 2, so I maximized the 2 windows (browser) and searched the window that listed items with ID 1 and finishes me showing items with ID 2 (which had to continue showing me with ID 1).
I know it's a bit complicated to explain and you understand, but I'll try to improve by adding the following photos:
I wanted everyone, when I clicked on the link, to open their own session, so I guess I would not have that problem anymore.