History log of /PHP-7.2/ext/session/session.c (Results 426 – 450 of 764)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3
# 3cf581b1 05-Dec-2002 Marcus Boerger

correct code that is guarded by "#if 0"


# dcfe9888 05-Dec-2002 Marcus Boerger

php_error -> php_error_docref


Revision tags: php-4.3.0RC2, RELEASE_1_0b2
# a257d758 20-Nov-2002 Sascha Schumann

Add an error message to the ini handlers


# e9ed065a 20-Nov-2002 Sascha Schumann

add protective checks to ini updates

Noticed by: Derick Rethans <d.rethans@jdimedia.nl>
PR: #20284


Revision tags: BEFORE_RENAMING, php-4.3.0RC1, php-4.3.0pre2
# e60c601b 24-Oct-2002 Sascha Schumann

improved warning message

# this should really link to an external page which explains the issue deeply


Revision tags: RELEASE_1_0b1, php-4.3.0pre1
# 2dde6fb5 07-Oct-2002 Sascha Schumann

Print out warning only, if a variable was actually migrated


# d7f9e852 06-Oct-2002 Sebastian Bergmann

Silence warning.


# 6b5575a1 06-Oct-2002 Ilia Alshanetsky

Code cleanup. Thanks Andi.


# 5fe046c4 03-Oct-2002 Sascha Schumann

session_decode should not segfault


# 7e03310a 03-Oct-2002 Sascha Schumann

Don't emit warning, if there is nothing to send


# b276a96f 03-Oct-2002 Andi Gutmans

- Fix ZTS build


# 13f5db1b 03-Oct-2002 Sascha Schumann

Make the interpretation of gc_probability configurable by adding
session.gc_dividend. The probability of running gc on each request is then
gc_probability/gc_dividend.


# 0ed434a1 03-Oct-2002 Sascha Schumann

Use ZEND_SET_SYMBOL_WITH_LENGTH correctly (hopefully)

It strikes me as awkward that a Zend API user needs to take care of
doing the engine's reference counting.

This fixes a mem

Use ZEND_SET_SYMBOL_WITH_LENGTH correctly (hopefully)

It strikes me as awkward that a Zend API user needs to take care of
doing the engine's reference counting.

This fixes a memory overrun in a testcase. All ZEND_SET_* calls
should be correct now.

show more ...


# 15b23945 03-Oct-2002 Sascha Schumann

(track_init) Use is_ref/refcount parameters of SET_SYMBOL macros

(save_current_state) Prevent a possible deadlock which occurs when
the track vars are inaccessible


# 8a586103 03-Oct-2002 Sascha Schumann

Align behaviour with 4.2 with regard to register_globals=1

session_register("c");
unset($c);
$c = time();

If a user unsets a global session variable, it is not a reference

Align behaviour with 4.2 with regard to register_globals=1

session_register("c");
unset($c);
$c = time();

If a user unsets a global session variable, it is not a reference
to a $_SESSION slot anymore.

During serialization, PHP 4.2 will not find the respective entry in
$_SESSION and fall back to the global sym table.

show more ...


# b9077e5a 03-Oct-2002 Sascha Schumann

Nuke PS(vars), we keep the state of registered session variables now
completely in PS(http_session_vars). This avoids bugs which are caused
by a lack of synchronization between the two hashes

Nuke PS(vars), we keep the state of registered session variables now
completely in PS(http_session_vars). This avoids bugs which are caused
by a lack of synchronization between the two hashes. We also don't need
to worry about prioritizing one of them.

Add session.bug_compat_42 and session.bug_compat_warn which are enabled
by default. The logic behind bug_compat_42:

IF bug_compat_42 is on, and
IF register_globals is off, and
IF any value of $_SESSION["key"] is NULL, and
IF there is a global variable $key, then
$_SESSION["key"] is set to $key.

The extension emits this warning once per script, unless told otherwise.

"Your script possibly relies on a session side-effect which existed until
PHP 4.2.3. Please be advised that the session extension does not consider
global variables as a source of data, unless register_globals is enabled.
You can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn.

show more ...


Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# 4ea4f294 02-Oct-2002 Sascha Schumann

Fix harmless memory leaks and simplify track_vars_init.


# 856cd5e1 01-Oct-2002 Sascha Schumann

The session extension ensures now that get_session_var can rely
on the state of $_SESSION/$HTTP_SESSION_VARS. It does not look up
symbols in the global symbol table anymore.

This was

The session extension ensures now that get_session_var can rely
on the state of $_SESSION/$HTTP_SESSION_VARS. It does not look up
symbols in the global symbol table anymore.

This was achieved by actually planting references between every
$_SESSION["x"] and $x, not only when restoring a session, but also
when registering a session variable (in a register_globals=1 context).

Upon registering a new variable, this memory leak continues to show
up, regardless of register_globals.

ext/session/session.c(272) : Freeing 0x0818F01C (12 bytes), script=test

Obviously, the newly allocated empty zval is not properly freed. If anyone
has any idea on how to fix that, please step forward.

show more ...


# 5346391d 29-Sep-2002 foobar

ws fix


# 4c4d5a61 29-Sep-2002 Ilia Alshanetsky

Fixed a crash, which would occur when save_handler is invalid.


# 2af630f8 29-Sep-2002 Ilia Alshanetsky

Fixed bug #17281


# 1142e160 29-Sep-2002 Ilia Alshanetsky

Fixed bugs #16995 and #19392


# 57c91b57 26-Sep-2002 Ilia Alshanetsky

Fixed bug #11643


# 6b8480fa 26-Sep-2002 foobar

Fix bug: #14991 (changing session.use_trans_sid does not work in scripts)


# 7ae21968 25-Sep-2002 Ilia Alshanetsky

Fixed bugs #18167 & #16859


1...<<11121314151617181920>>...31