News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[SMF 2.0b3p] Changing "Use database driven sessions" gives session error

Started by TheCoolGamer, March 22, 2008, 05:16:33 PM

Previous topic - Next topic

TheCoolGamer

When you in the admin panel go to "Feature configuration" and then change the box after "Use database driven sessions" you get the following error:
QuoteSession verification failed. Please try logging out and back in again, and then try again.
The setting is changed though.

This is caused because after this a new session key is generated, which doesn't match the number in the browser.

No mods or something else installed.

SleePy

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

TheCoolGamer

They are related in the way that they both have something to do with the session key. This is a way (there a other ways) to change the session key. Which let the session key check fail.

Quote from: SleePy on March 22, 2008, 11:41:57 PM<br />I think this bug is related to this one here:<br /><a href="http://www.simplemachines.org/community/index.php?topic=229188.0" class="bbc_link new_win" target="_blank">http://www.simplemachines.org/community/index.php?topic=229188.0</a><br />
This is a bug when the session key is wrong error is shown.

Those are two different bugs, However this one can let the one in the link happen.

SleePy

I appended this information to the bug report. I think they are related in a way. But if not, the developers will be in that same area fixing the bug so they are semi related.

The issue is because when you switch them, the session is not in either the database of flat files. So a new one is made by php (smf doesn't do this).

http://dev.simplemachines.org/mantis/view.php?id=1789
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: