History log of /PHP-5.3/ext/session/php_session.h (Results 26 – 50 of 118)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3, RELEASE_0_9b
# ed68ca44 10-May-2003 Sascha Schumann

Fix types of bug_compat entries

PR: #21312
Submitted by: Rob Richards <rrichards@ctindustries.net>


Revision tags: SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# 4226fe67 05-Apr-2003 Sascha Schumann

dividend -> divisor

Submitted by: Jesus M. Castagnetto <jmcastagnetto@yahoo.com>


Revision tags: php-4.3.2RC1
# 4ec77cfb 18-Feb-2003 Sascha Schumann

Refactor new-session-id code


# 2699c26f 18-Feb-2003 Sascha Schumann

Remember whether to send a cookie, so that we send out the correct
session id. Also improve check for active session


# 32e0c816 18-Feb-2003 Sascha Schumann

add session_regenerate_id()


Revision tags: php-4.3.1
# 5e601732 11-Feb-2003 Sascha Schumann

use appropiate prefixes in the ps_module structure so we don't clash
with syscalls


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# db8b4c67 16-Jan-2003 Sascha Schumann

Add INI setting session.hash_bits_per_character which enables developers
to choose how session ids are represented, regardless of the hash algorithm.


# f2f1f94e 12-Jan-2003 Sascha Schumann

add INI setting session.hash_function
add support for creating session ids using SHA-1
source more entropy for session ids


# b506f5c8 31-Dec-2002 Sebastian Bergmann

Bump year.


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1, php-4.3.0pre2, RELEASE_1_0b1, php-4.3.0pre1
# 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.


# 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
# 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 ...


Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2, php-4.2.3RC1
# 900651b7 15-Aug-2002 Zeev Suraski

Make unset($_SESSION['foo']) actually remove the variable from the session,
if register_globals is off.


Revision tags: dev, php-4.2.2, INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2, 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, php-4.2.1, php-4.2.1RC2
# 23251ebd 05-May-2002 Thies C. Arntzen

re-add accidentily nuked session_adapt_url()


# 9712a4b3 03-May-2002 Thies C. Arntzen

@ - Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
@ and remove variables from the URL-Rewriter. (thies)
i have also modified the session module to use this - so i

@ - Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
@ and remove variables from the URL-Rewriter. (thies)
i have also modified the session module to use this - so it doesn't
need to fiddle with the output-system any more

show more ...


Revision tags: php-4.2.1RC1
# 42158ef7 28-Apr-2002 Thies C. Arntzen

revert session_set_userdata - diffent patch will come shortly


# eb105693 27-Apr-2002 Thies C. Arntzen

@ - added session_set_userdata() which enables you to specify one variable
@ that will be kept in the browser in addition to the session-id. This
@ only works when using trans-sid session

@ - added session_set_userdata() which enables you to specify one variable
@ that will be kept in the browser in addition to the session-id. This
@ only works when using trans-sid sessions (no cookie). (thies)

show more ...


Revision tags: php-4.2.0, php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2
# 3a3acee3 30-Mar-2002 Sascha Schumann

- Proper use of underscores (s/createsid/create_sid/)
- Bump the API date and remove extra cpp macro
- Pass TSRMLS appropiately to the create_sid function


# 346d74a1 29-Mar-2002 Mark L. Woodward

Added field to ps_module structure to hold function pointer for the creation
of the session ID string. Default PS_MOD() macro sets this to be the default
creation routine. PS_MOD_SID() macro

Added field to ps_module structure to hold function pointer for the creation
of the session ID string. Default PS_MOD() macro sets this to be the default
creation routine. PS_MOD_SID() macro sets this to a handlers session ID
creation routine.

show more ...


Revision tags: php-4.2.0RC1, help
# 8141c776 06-Mar-2002 Sascha Schumann

Merge in session API changes (carry around tsrm context)

Now PHP_SESSION_API is defined to the date of the last change,
so that externa source-code can handle changes more gracefully.


# ca59cb7c 06-Mar-2002 Sascha Schumann

Weep out all recent commits of Yasuo.

I don't have time right now to leave in the good ones and remove
only the bad ones.

There are some semantical changes which I reject, becau

Weep out all recent commits of Yasuo.

I don't have time right now to leave in the good ones and remove
only the bad ones.

There are some semantical changes which I reject, because
they aim at fixing a bug which is at a completely other location.

Then SID does not gefined anymore properly. (This broken patch
has not been sent to me at all.)

Also, there were *so* many whitespace changes which already
make these commits bogus.

show more ...


# 782462a4 06-Mar-2002 Yasuo Ohgaki

More TSRM work


# 90613d22 28-Feb-2002 Sebastian Bergmann

Maintain headers.


Revision tags: php-4.1.2
# ed6d751c 07-Feb-2002 Sterling Hughes

move to the ZEND_DECLARE_MODULE_GLOBALS() and ZEND_EXTERN_MODULE_GLOBALS
macros


12345