Hi guys,
Just got a little confused about what is going on here. Tbh this is not something i have ever done before, and im a little lost. Below is the error im getting while trying to tell it to save the sessions in my DB.
[b]
Warning: session_set_save_handler() [function.session-set-save-handler]: Argument 1 is not a valid callback in /nfs/c01/h03/mnt/32719/domains/dating.ryanlund.co.uk/html/classes/session_class.php on line 6
And here is the first part of the class(where i am assuming this problem is):
[code]
function __CONSTRUCT(){
$checker=new checker();//ignore this obviously
session_set_save_handler(‘_open’,’_close’,’_read’,’_write’,’_destroy’,’_clean’);
}
function _open() {
return true;
}
Now as far as i was concerned the open function didnt actually need to do anything (DB connection is already set up) – and simply returning true would be fine.
Anyone got any ideas?
Ryan