MyBB Community Forums

Full Version: Undefined column in `sessions` table
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is a useragent column in sessions table. I searched every where in MyBB files but didn't find its usage. So why is it necessary to add the useragent column in sessions table ? Undecided
Is this related to MyBB.com??
I reported to move this post to correct forum.
It definitely is used in the code... look in the database of your forum, it'll have data in the useragent column, so the code is obviously putting something in there...
I know, but the point is, its values are not seen using any where. Undecided For example I'm using Chrome, my useragent showing Google chrome in useragent column in front of my user ID, but where I found this same thing inside MyBB pages ?
The first thing that comes to mind is that its probably used to detect spiders.

EDIT: Yes I was right, check the class_session.php file as thats where its used.
Thanks -G33K-