Open rainworm opened 13 years ago
I have something similar, But it happens with other pages too. Well anything that uses the process.php file. I'm thinking it has something to do with the referrer function in the session class. But don't have any solution for it so far, you can try changing the following,
header("Location: ".$session->referrer); header("Location: "main.php);
But that way the session referrer function is kinda useless. I hope to find the problem.
regards,
I'll try to write down how I got to this bug (I can't always reproduce it, so I can't quite pin point it).
Instead of system returning you to main page, it displays register.php and message that you are already registered. My guess is that error happend inside process.php and has something to do with session that wasn't destroyed in register.php.
greetings, rainworm