steelmanronald06 Posted April 7, 2007 Share Posted April 7, 2007 Okay, so I'm using the AdoDB's custom session handler. I went with the adodb-session2.php instead of adodb-session.php because session2 provides encryption and I need the added security. Anyways, this is what I get at the top of my files: Warning: session_module_name() [function.session-module-name]: A session is active. You cannot change the session module's ini settings at this time. in C:\wamp\www\socialwire\lib\adodb\session\adodb-session2.php on line 465 Any ideas? Anyone use AdoDB? Link to comment https://forums.phpfreaks.com/topic/45978-solved-adodb-custom-session-problem/ Share on other sites More sharing options...
steelmanronald06 Posted April 7, 2007 Author Share Posted April 7, 2007 Just thought I would update what I have tried: session.auto_start is off the session trans id is off i had increased the memory, as one thread said to try it Nothing worked. Link to comment https://forums.phpfreaks.com/topic/45978-solved-adodb-custom-session-problem/#findComment-223434 Share on other sites More sharing options...
steelmanronald06 Posted April 7, 2007 Author Share Posted April 7, 2007 solved. for those who wondering what i needed to do, here is the code: <?php if(session_id()) { session_unset(); session_write_close(); } require_once($path . 'lib/sessionHandler.inc'); session_start(); ?> you have to unset any session that your php.ini file might have set, and then include the adodb's handler and then start sessions. A thanks to neylitalo for providing the directions i needed. Link to comment https://forums.phpfreaks.com/topic/45978-solved-adodb-custom-session-problem/#findComment-223443 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.