#
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 |
#
ff12826f |
| 23-Sep-2002 |
Sascha Schumann |
(php_get_session_var) Always return FAILURE if no data source was found. Noticed by: Sebastian Bergmann |
#
e20c6c8e |
| 21-Sep-2002 |
Sascha Schumann |
Because track vars are always initialized, get_session_var failed to work in the register_globals=1 case. It is now possible again to store session variables in global vars. |
Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2, php-4.2.3RC1 |
|
#
26986164 |
| 15-Aug-2002 |
Dan Kalowsky |
Correcting some english in the comment... |
#
13a3dd7b |
| 14-Aug-2002 |
Yasuo Ohgaki |
Forgot to update source default. |
Revision tags: dev, php-4.2.2, INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt |
|
#
29aae162 |
| 03-Jul-2002 |
foobar |
ws fix |
Revision tags: php-4.3.0dev_zend2_alpha2 |
|
#
087f2be5 |
| 28-Jun-2002 |
foobar |
- Fixed bug: #17977, session build as shared works now with mm handler too. - Added listing of save handlers into phpinfo() output |
Revision tags: php-4.3.0dev, php5_5_0 |
|
#
dcf67c44 |
| 12-Jun-2002 |
Sascha Schumann |
This option enables administrators to make their users invulnerable to attacks which involve passing session ids in URLs. |
Revision tags: RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1 |
|
#
1668570e |
| 13-May-2002 |
Andrei Zmievski |
Changing email address. |
Revision tags: php-4.2.1 |
|
#
38ad3918 |
| 12-May-2002 |
Sascha Schumann |
- Fix the way code was outcommented - Remove unused STR_CAT macro - Remove limits/tests based on unused macro - Implement cache_limiter(private) using private_no_expire |
#
375d7960 |
| 09-May-2002 |
Sander Roobol |
Revert Preston's patch |
#
9fdec2e3 |
| 09-May-2002 |
Preston L. Bannister |
Change default directory for session data from /tmp (non-portable) to none. Default directory for session data (if not specified) is same (platform-specific) directory used for temporary files.
Change default directory for session data from /tmp (non-portable) to none. Default directory for session data (if not specified) is same (platform-specific) directory used for temporary files. This is backwards compatible and removes the need for explicitly specifying the session.save_path on Win32.
show more ...
|