Topic: How to save sessions in database? (Read 1745 times)
Atari ST fan
Posts: 7
54 credits Members referred : 0
« on: Oct 19, 2006, 06:05:54 am »
Hello, I didn't see a setting anywhere, so I thought I'd ask here.
How do I set Access_user class to save sessions to database?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Oct 19, 2006, 11:31:12 pm »
There are only two things you need to do:
chech this in the config file:
Code:
// Important! use this setting to store the session data in your Mysql database // disable this feature if your host doesn't support this session handler. define("USE_MYSQL_SESSIONS", true); // "false" to disable thios setting
and import the database table for the sessions into your mysql database
...and then it should work.
Atari ST fan
Posts: 7
54 credits Members referred : 0
« Reply #2 on: Oct 20, 2006, 01:18:16 am »
no wonder i couldnt find it, i have like a year old version. that makes me mad, phpclasses.org doesnt have the latest version
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374