Log in

View Full Version : PHP Session vs vBulletin session table


vooood
05-27-2008, 01:35 PM
I was wondering what would be the most efficient thing to use - PHP session or the vBulletin session table?

I'm asking this because I'm working on a game plugin for vBulletin that needs sessions. There are already a lot of DB requests and I was wondering if adding pure PHP sessions support for a few basic things will save me a lot of DB requests - for example character name, description, etc.

The questions is will this help me to achieve better performance or is it the "same" as extending the vBulletin session table?

Dismounted
05-28-2008, 07:31 AM
The whole session table is fetched anyway, so you might as well use it I reckon.

vooood
05-28-2008, 08:31 AM
The whole session table is fetched anyway, so you might as well use it I reckon.

Cool. Thank you for the info! :)