I have a custom $_SESSION php file I am including in wp-config.php. It needs <?php session_write_close(); ?> at the end of the pages in order for the session to not break. It works on the main page.
I thought putting <?php session_write_close(); ?> at the end of footer.php would fix it, but the comments submit action and other pages make the session break.
Question is: Where all do I need to put <?php session_write_close(); ?> and is including the custom session file in wp-config.php correct?
I am using the Atahualpa theme and wp 2.9.2
- The topic ‘custom sessions broken’ is closed to new replies.