Okay, i'm making a pretty sweet content suite for about 5 months. It is going VERY well, and im nearing completion.
One of the things that has been a bother, is bot usage. I want bots to be able to come on, I think its great, but they're giving me trouble.
First of all, all my session handling is coded manually. I never liked PHPs built in session functions, so I made my own, they work GREAT. There are two kinds of sessions, cookie sessions and URL sessions. Basically, if my script cant store session id in a cookie, it passes it through a URL, much how forums work.
Here's the stinker: Whenever bots come online (I found out google was accessing my beta test site), they create new sessions for every page load they do (I have no clue why they do not properly use my code for sessions). Thus, it appears that I have like 30 guests online instead of 1 bot session. I need two things: The most basic thing I need, is a quick, easy, secure way to tell the difference between a bot and a user. I already have all my session code finished, it just needs compatibility for bots added. Secondly, a method of identifying bots would be nice as well. I know bots have some sort of ID, but I wouldn't know how to get it. If I had it, I'd compare it in the database with something and then I'd have a way of identifying a bot.
Many thanks in advance.