summaryrefslogtreecommitdiff
path: root/ext/session/php_session.h
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Make unset($_SESSION['foo']) actually remove the variable from the session,Zeev Suraski2002-08-151-9/+19
| | | | | if register_globals is off.
* This option enables administrators to make their users invulnerable toSascha Schumann2002-06-121-0/+1
| | | | | attacks which involve passing session ids in URLs.
* re-add accidentily nuked session_adapt_url()Thies C. Arntzen2002-05-051-0/+2
|
* @ - Added output_add_rewrite_var() and output_remove_rewrite_var() to injectThies C. Arntzen2002-05-031-3/+0
| | | | | | | @ 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
* revert session_set_userdata - diffent patch will come shortlyThies C. Arntzen2002-04-281-3/+0
|
* @ - added session_set_userdata() which enables you to specify one variableThies C. Arntzen2002-04-271-0/+3
| | | | | | @ that will be kept in the browser in addition to the session-id. This @ only works when using trans-sid sessions (no cookie). (thies)
* - Proper use of underscores (s/createsid/create_sid/)Sascha Schumann2002-03-301-10/+8
| | | | | | - Bump the API date and remove extra cpp macro - Pass TSRMLS appropiately to the create_sid function
* Added field to ps_module structure to hold function pointer for the creationMark L. Woodward2002-03-291-3/+25
| | | | | | | 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.
* Merge in session API changes (carry around tsrm context)Sascha Schumann2002-03-061-6/+8
| | | | | | Now PHP_SESSION_API is defined to the date of the last change, so that externa source-code can handle changes more gracefully.
* Weep out all recent commits of Yasuo.Sascha Schumann2002-03-061-6/+6
| | | | | | | | | | | | | | | 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.
* More TSRM workYasuo Ohgaki2002-03-061-6/+6
|
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* move to the ZEND_DECLARE_MODULE_GLOBALS() and ZEND_EXTERN_MODULE_GLOBALSSterling Hughes2002-02-071-6/+3
| | | | | macros
* Export php_session_start().foobar2002-02-051-0/+1
|
* Export php_session_register_module/serializer.Yasuo Ohgaki2002-01-161-2/+2
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Fix session_unregister()Zeev Suraski2001-12-061-2/+6
|
* Remove PS_DEL_VAR macro, always use PS_DEL_VARL()Zeev Suraski2001-12-061-2/+0
|
* AIX compiler doesn't like having a comma at the end of the enumDoug MacEachern2001-11-181-1/+1
| | | | | (Ryan Bloom <rbb@apache.org>)
* Rewrite of unserializer which should be more maintainable and extensible.Sascha Schumann2001-11-101-1/+3
| | | | | | | Changes pass `make test´ and a couple of custom tests. Enjoy.
* Fix build.Andrei Zmievski2001-10-221-0/+1
|
* Add an API function for setting the session id from a session module...Sterling Hughes2001-09-111-0/+2
| | | | | # The SRM folks wanted/needed this
* Restore session_adapt_url()Zeev Suraski2001-08-311-2/+3
|
* Cleanup and clarifyZeev Suraski2001-08-311-1/+0
|
* More fixes and refinementsZeev Suraski2001-08-271-0/+1
|
* Fix trans-sid.Zeev Suraski2001-08-261-1/+0
| | | | | | Still need to figure out how to turn trans-sid only when sessions are actually used.