summaryrefslogtreecommitdiff
path: root/ext/session/php_session.h
Commit message (Collapse)AuthorAgeFilesLines
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Remove compile warning of commit 554021d21e1b2517313a377676260c188152c2ebYasuo Ohgaki2013-08-101-1/+1
|
* Implemented Bug #17860 Suggestion: auto detect whether session changedYasuo Ohgaki2013-08-101-0/+1
|
* Strict sessionYasuo Ohgaki2013-08-041-1/+9
|
* HASH_KEY_NON_EXISTANT fixVeres Lajos2013-07-211-1/+1
|
* BC fix for PR 109 merge - create_sid() method in SessionHandlerArpad Ray2013-06-271-0/+3
| | | | | | | | | Creates a new SessionIdInterface and moves create_sid() into it, so existing handlers implementing SessionHandlerInterface don't require create_sid(). SessionHandler still includes the method so the default mod can be called, but now implements both interfaces. Also added several more tests for this feature.
* Merge PR 109 - Add create_sid to session_set_save_handler and SessionHandlerArpad Ray2013-06-271-1/+3
|\ | | | | | | | | | | Allows user session handlers to create session IDs by adding an optional 7th argument to session_set_save_handler() and a create_sid() method to SessionHandler.
| * Add create_sid to session_set_save_handler and SessionHandlerLeigh2012-06-151-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot of code already existed to allow a custom create_sid handler, but lacked a specific implementation. Therefore I have added a 7th (optional) argument session_set_save_handler, to allow a user function to be supplied for session id generation. If a create_sid function is not supplied, the default function is called in its absence to preserve backwards compatibility. Likewise create_sid only added to SessionHandler class, and not the interface to maintain backwards compatibility. If the result is not overridden, the default is called.
* | Happy New YearXinchen Hui2013-01-011-1/+1
|/
* add SessionHandlerInterface for session_set_save_handler() - #60551Arpad Ray2012-01-041-0/+3
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo)Arpad Ray2011-09-131-0/+13
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - code cleanupsArnaud Le Blanc2010-05-111-0/+1
| | | | | | | - cleanup progress data from session vars as soon as all post data has been readden (upload_progress.cleanup ini setting allows to disable this)
* Added upload progress feedback in session data as describied Arnaud Le Blanc2010-05-101-0/+27
| | | | | in RFC : http://wiki.php.net/rfc/session_upload_progress
* Removed the session 4.2 bug compatibility modeKalle Sommer Nielsen2010-04-221-2/+0
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: ws + syncJani Taskinen2009-05-181-10/+10
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: General sync. WS / CS / etc. crap some people didn't bother to mergeJani Taskinen2008-08-061-20/+7
| | | | | | | MFH: before this commit..bunnies thank you all.. [DOC] - Added ext/hash support to ext/session's ID generator. (Sara) [DOC] Ask Sara for explanation..
* - nuketh period from error messageJani Taskinen2008-08-051-1/+1
|
* MFH: fix bug #32330 (session_destroy, "Failed to initialize storage module", ↵Gwynne Raskind2008-03-071-0/+11
| | | | custom session handler)
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fixed Bug #40274 (Sessions fail with numeric root keys).Ilia Alshanetsky2007-02-061-2/+7
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Expose session storage module locater and serialization function via PHPAPIIlia Alshanetsky2006-10-061-0/+3
|
* Added support for httpOnly flag for session extension and cookie settingIlia Alshanetsky2006-08-101-0/+1
| | | | | | | functions. # Original patch by Scott MacVicar
* An improved fix for bug #38224Ilia Alshanetsky2006-07-271-0/+1
|
* Export symbols that will allow building WDDX as shared objectFrank M. Kromann2006-01-281-3/+3
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Missing $Id$ tagsfoobar2005-02-131-0/+2
|
* MFB_4_3: cvs diff -r1.84.2.5 -r1.84.2.6 php_session.hfoobar2005-02-131-3/+2
|
* Silence some compile warningsfoobar2004-01-231-1/+1
|
* export tsrm id for session globals.Wez Furlong2004-01-091-1/+1
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Export this so that shared session modules can use it under win32.Wez Furlong2003-12-021-1/+1
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Fix types of bug_compat entriesSascha Schumann2003-05-101-2/+2
| | | | | | PR: #21312 Submitted by: Rob Richards <rrichards@ctindustries.net>
* dividend -> divisorSascha Schumann2003-04-051-1/+1
| | | | | Submitted by: Jesus M. Castagnetto <jmcastagnetto@yahoo.com>
* Refactor new-session-id codeSascha Schumann2003-02-181-0/+1
|
* Remember whether to send a cookie, so that we send out the correctSascha Schumann2003-02-181-0/+1
| | | | | session id. Also improve check for active session
* add session_regenerate_id()Sascha Schumann2003-02-181-0/+1
|
* use appropiate prefixes in the ps_module structure so we don't clashSascha Schumann2003-02-111-8/+8
| | | | | with syscalls
* Add INI setting session.hash_bits_per_character which enables developersSascha Schumann2003-01-161-0/+1
| | | | | to choose how session ids are represented, regardless of the hash algorithm.
* add INI setting session.hash_functionSascha Schumann2003-01-121-0/+2
| | | | | | add support for creating session ids using SHA-1 source more entropy for session ids
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Make the interpretation of gc_probability configurable by addingSascha Schumann2002-10-031-0/+1
| | | | | | session.gc_dividend. The probability of running gc on each request is then gc_probability/gc_dividend.
* Nuke PS(vars), we keep the state of registered session variables nowSascha Schumann2002-10-031-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* The session extension ensures now that get_session_var can relySascha Schumann2002-10-011-9/+7
| | | | | | | | | | | | | | | | | | 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.