Skip to content

e107 session table #4992

Closed Answered by Deltik
Jimmi08 asked this question in Q&A Core
Apr 15, 2023 · 2 comments · 8 replies
Discussion options

You must be logged in to vote

e107 currently saves the sessions of guest visitors. Bots tend not to persist cookies, so every time a bot hits your site, a row gets added. We could definitely improve this by not saving cookies for guests.

Unfortunately, one usage I can think of that would break from not saving cookies is /e107_images/secimg.php, which saves the answer to the CAPTCHA inside the session. A better approach for this would be to send the client a cryptographically signed string that only the server can decode so that the CAPTCHA answer would not depend on cookies and sessions.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@Jimmi08
Comment options

@Deltik
Comment options

@Jimmi08
Comment options

@Deltik
Comment options

@Jimmi08
Comment options

Answer selected by Jimmi08
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants