Skip to content

[2.1.7]: Session verification failed #9158

@sbulen

Description

@sbulen

Basic Information

Some users on forums who have guest views disabled have had issues with Session Verification Failed errors after patching to 2.1.7.

Source of the issue appears to be the empty cookie check in PR #8394 :

// Don't bother writing the session if cookies are disabled; no way to retrieve it later

...since removing it resolves the issue for these folks.

Interesting that the issue happens on the non-modal login box but not the other login links... I suspect stale session vars are getting used for the non-modal login somehow.

I cannot reproduce this, & have spent a LOT of time attempting to do so. But it's been reported twice on no-guest-browse forums since the 2.1.7 patch.

I'd hate to remove it, as it has helped A LOT in terms of CPU on my forum during botnet attacks.

Still thinking it thru... Any ideas, feel free to share...

Forum discussions:
https://www.simplemachines.org/community/index.php?topic=594016.0
https://www.simplemachines.org/community/index.php?topic=593947.0

Steps to reproduce

  1. Disallow guest browsing
  2. ???

Expected result

No response

Actual result

No response

Version/Git revision

2.1.7

Database Engine

All

Database Version

No response

PHP Version

No response

Logs

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions