AOEpeople/Aoe_BlackHoleSession

Name: Aoe_BlackHoleSession

Owner: AOE

Description: null

Created: 2016-08-15 06:58:53.0

Updated: 2017-12-20 15:27:14.0

Pushed: 2016-08-18 13:10:54.0

Homepage: null

Size: 15

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

AOE_BlackHoleSession

Author: Fabrizio Branca

See: https://github.com/colinmollenhour/Cm_RedisSession/issues/91

Bots (including load balancers and reverse proxies) will create many sessions that will never be used again. Instead we're detecting them based on the user agent and will skip creating a real session.

Configuration

Add this to your local.xml file:

l version="1.0" encoding="UTF-8"?>
fig>
<global>
    [...]
    <aoeblackholesession>
        <bot_regex><![CDATA[/^elb-healthchecker/i]]></bot_regex>
    </aoeblackholesession>
    [...]
</global>
nfig>

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.