assehj
assehj

Reputation: 7

how to logged one web browser out if you are logged in to another web browser?

How can you automatically logged out one browser if you want to log in to another browser of the same page?

I am having an evaluation form. And the problem starts here: if you evaluate from the other form and submit its values.

On the other browser, you also evaluate and submit values.

Both values from the two browser submit values which is wrong. If that browser submits values, the other browser must not submit its own value because values from another page is already submitted.

Upvotes: 0

Views: 148

Answers (1)

Damp
Damp

Reputation: 3348

If you use a database, you can store a session parameter upon logging in in the database and validate the session when a form is submitted. If you have not logged in somewhere else, the session will still be valid, otherwise the session won't match.

Upvotes: 1

Related Questions