1
Hi, I have a big problem with session vars:
I have a class:
class myClass
{
var $records;
function get()
{
$this->records = array();
...
Populate array
...
}
}
In index.php:
...
includes
...
if ( !isset( $_SESSION['myVar'] ) )
{
$_SESSION['myVar'] = new myClass();
echo "First Time, session var created !!";
}
$_SESSION['myVar']->get();
...
assign to template
and dysplay
...
Well, this works perfectly for few records ( <= 160 ) ... but when method returns more than aprox 170
records, $_SESSION['myVar'] DISAPPEARS and object is created again !!!!!
Uffff, I've read a lot and I have not get answer ...
I've tried globals=ON and OFF, changing max memory ...
Has any one the same problem ? any idea ??
It's really frustrating ...
Note: I use PHP4.2.1, I've tried this out XOOPS and it works perfectly with many records ... may it be some XOOPS session managing limitation ???
My php.ini:
[ Moved, so it wasn't the cause ... ]