Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The sessions table will balloon rapidly if the site is frequently crawled, and especially if session expiration is very high. This is because securepages stores a session variable on the first request, causing drupal to store the session data. But since bots generally do not accept cookies, a new session is created for every request they make.
The attached patch fixes this for 6.x-1.x-dev.
Comment | File | Size | Author |
---|---|---|---|
#4 | securepages-crawler_sessions_fix-1373394-4.patch | 595 bytes | rooby |
session-fix.patch | 550 bytes | balloon |
Comments
Comment #1
grendzy CreditAttribution: grendzy commentedThanks for your report. This has been fixed in 6.x-2.x.
Comment #3
rooby CreditAttribution: rooby commentedSince 6.x-2.x seems to have stalled, can we please get this into 6.x-1.x as it is a big problem and a simple fix if this patch is the fix.
Comment #4
rooby CreditAttribution: rooby commentedHere is the exact same patch rolled with the new git standard of
patch -p1
.