----- Original Message ----- I'm having a trouble with session vars, that i suspect that is related to garbage collection system. I start a session and make and continuos use of it, but sudently the session vars are reseted, the time when this ocurs is variable, always after passing the time of garbage recollection since the session was started, but less than a minute from the last use of the session, is this the correct way for php session handling or can be any error in the scripts or the php config? -----------------------------
If you're not using your own session handling functions, garbage collection won't touch the file if it's been accessed in the last 1440 seconds (I think that's the default). What if you write a really basic session page and keep loading it? Do the variables dissappear from that, also? I'm sure it's something in the code you've written, as normal session operations wouldn't do this. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php