I am working on a site which should grant the user access to a new “members”/“logged-in” page after logging in using the login page. The main (logged-in) page has a text element which states the name of the logged in user.
I am using “222” and “333” as test accounts/usernames.
Upon logging in with “222” and being redirected to the next page", the page returns “Logged In As 222”. However, if I log out and log in as “333”, the main page still returns “Logged In As 222”. When I refresh my browser/page, it then changes to “Logged In As 333”.
What is causing this, and how can I fix it? Thanks!
"Login" Button Logic On Login Page:
OnEnter Logic on Main page
Logout Button Logic: