Forum Moderators: coopster
My problem: the "session_gc_method" method, the method that garbage collects the expired sessions, is called two times for each page! It is called at session_start() and at the end of the output...
Am I missing something here? Shouldn't this method be called only at session_start()?
I found my problem and I feel really stupid now! ;-)
I used the code here [zend.com]
Look at the "_close" function: it calls the gc function! I just removed this and now everything is fine.