I adapted Ying Zhang's Tip (<!-- m --><a class="postlink" href="http://www.phpbuilder.com/columns/ying20000602.php3">http://www.phpbuilder.com/columns/ying20000602.php3</a><!-- m -->) on using MySQL to manage Session information - I created a "session_mysql.php" script that contains functions sess_open, sess_read, sess_write, etc. I have it working, but I don't understand how session_destroy and sess_gc(garbage collection) work - when I invoke session_destroy() in my php application, the "data" column for that session is cleared, but the row for that session remains(is not DELETE'd). I don't understand this since the sess_destroy function does a DELETE FROM - seems like the whole row should be removed.
Is there some documentation somewhere that describes what each of these functions(sess_open, sess_read, etc.) are expecting, what each one does, what each one should return, when each one gets invoked, etc.???
TIA.
Hardy Merrill
Mission Critical Linux, Inc.
<!-- m --><a class="postlink" href="http://www.missioncriticallinux.com">http://www.missioncriticallinux.com</a><!-- m -->
Is there some documentation somewhere that describes what each of these functions(sess_open, sess_read, etc.) are expecting, what each one does, what each one should return, when each one gets invoked, etc.???
TIA.
Hardy Merrill
Mission Critical Linux, Inc.
<!-- m --><a class="postlink" href="http://www.missioncriticallinux.com">http://www.missioncriticallinux.com</a><!-- m -->