I have a strange one… I created a member login section for a client but it does the strangest thing. When person 1 creates a new profile, no problem. Person 2 then creates a new profile, also no problem. When person 1 logs in, the website displays person’s 2 data.
I’ve done a bit of testing and realised this is because, for some reason, the website stores person’s 2 id, even when accessed from a completely different computer.
A few notes:
1.After signing up, the new member get’s redirected to a page (not including the user id in the link) asking him where he wants to go. He clicks on the ‘create profile’ link and another user’s data pulls through as mentioned above.
2. If I redirect the new client to a page including his id, it gives error 404. This is probably because at that moment, the website hasn’t yet created or pulled through the newly created id. When you then go to the homepage and back to this page, it seems to work fine, and going forward, always works fine.
I’ve tried a hundred different ways for the last 3 days trying to get this to work, but no luck… Any advice?..