471,601 Members | 1,496 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,601 software developers and data experts.

Warning "Unknown: A session is active. You cannot change the session module's ini settings at this time."

Hi all,

I'm trying to implement a custom session handler that writes session
data to a MySQL database. It works fine about 99% of the time. Trouble
is, at random intervals, I get entries like the following in my

[28-Apr-2006 04:44:25] PHP Warning: Unknown: A session is active. You
cannot change the session module's ini settings at this time. in
Unknown on line 0

Occasionally, but not always, this warning will be preceded by one of
these fatals:

[28-Apr-2006 11:59:19] PHP Fatal error: Exception thrown without a
stack frame in Unknown on line 0

Research has pulled up this bug,


While there are indications that this was fixed in 2004, it persists;
the annoying part being that we can't intentionally reproduce the
errors, nor can we come up with any common metrics for the system's
state when the errors are occurring. Worse yet, because we can't
trigger this on demand, we can't determine a way to try and trap for

Has anyone tracked down a definitive cause for this problem?

My environment is Debian sarge (kernel 2.6.8-1-686-smp) on a PowerEdge
2650 with 4 3.2ghz Xeons, PHP 5.0.3, Apache 1.3.33, and 2 gigs of RAM.
At the present time, upgrading PHP on this box is not really an



Remove mypants to email.
Apr 29 '06 #1
0 2014

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Greg Scharlemann | last post: by
6 posts views Thread by delusion7 | last post: by
reply views Thread by Georg | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.