how to solve php session problems

Asked

Viewed 33 times

0

Work in a company, that makes use of web applications (php) the page was well developed, but there are small details that could improve processes, I’m not developer yet! But I’m studying to become. The page in question presents a small error: if for any reason open two pages (in the same browser), each one with information from a different client and it is necessary to insert some information in the first page, this will be saved in the last page I access, independent of being the correct page.

I hope the situation has been covered.

Thank you for your attention.

  • Hello Mardonio! Welcome to Stackoverflow PT! Elaborate on your question, maybe adding images or pieces of code will help you better understand the community, and make it easier to help

  • 2

    There can only be the same session in the same app once per browser. The same happens with facebook for example, in the same browser if you log in with another personal account the previous session is destroyed, you are logged out of the account where you were leaving. Conventionally there should not even be an option to log in if you are already logged in

  • You’ll get better answers by giving people code they can use to reproduce the problem. https://answall.com/help/mcve

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.