Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pastyboy
· 9y ago · 0 comments
Test for bots (useragent) before adding the variable, requires array of most common bots - if bot don't create a session ...
Comments
[–]
foxylad
9y ago
Maintaining a list of bot useragents would be a pain, but I guess testing if the useragent contains 'bot' would work for most.