#Login Session problem
15 messages · Page 1 of 1 (latest)
This doesn't sound right. I think something else is happening.
what do you think is the problem?
its an existing website and i didnt made it so i dont have an idea how to debug/reconfigure out website.
I have no idea. This is not normal behavior. You are going to have to do more debugging. In my experience, when there are very unexpected things happening - it's often something other than I think.
For example, look into the middleware that checks if the user is authenticated and check if that code is working correctly.
alright
Hi @vapid lava
Need to test more.
@static marsh is right.
And this was a useful response because…?
@vapid lava What session driver are you using? Logging in to another account on another browser doesn’t kill sessions for an entirely different user in another browser. Otherwise only one person would be able to use the site at any one time.
what happen is when our existing user try to fill up some forms and when they submit, the result of filled up form becomes different. ex: the existing user filled up forms like first name = myfirstname, lastname = mylastname then after submitting the forms, it shows different firstname and lastname.
and then i tried to debug, by logging in 2 users in different browser. what happens is after i logged in as user1 then i open different browser and logged in as user2, when i refresh my user1, it will become user2. its like the session of user1 is loss.
@vapid lava in order to receive any help, please share some code related to this
Right. Now how about answering the actual question I asked?
honestly i dont have any idea. im trying to find what the previous developer did in our website. ill be right back once i found something.
All I asked was what session driver you’re using. All you need to do is tell us the value of the SESSION_DRIVER environment variable.