static PHP_INI_MH(OnUpdateSaveHandler)
{
+ if (PS(session_status) == php_session_active) {
+ php_error(E_WARNING, "A session is active. You cannot change the session module's ini settings at this time.");
+ return FAILURE;
+ }
PS(mod) = _php_find_ps_module(new_value TSRMLS_CC);
/*
* Following lines are commented out to prevent bogus error message at
static PHP_INI_MH(OnUpdateSerializer)
{
+ if (PS(session_status) == php_session_active) {
+ php_error(E_WARNING, "A session is active. You cannot change the session module's ini settings at this time.");
+ return FAILURE;
+ }
PS(serializer) = _php_find_ps_serializer(new_value TSRMLS_CC);
/*
* Following lines are commented out to prevent bogus error message at