Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | revert session_set_userdata - diffent patch will come shortly | Thies C. Arntzen | 2002-04-28 | 1 | -37/+2 |
| | |||||
* | @ - added session_set_userdata() which enables you to specify one variable | Thies C. Arntzen | 2002-04-27 | 1 | -2/+37 |
| | | | | | | @ that will be kept in the browser in addition to the session-id. This @ only works when using trans-sid sessions (no cookie). (thies) | ||||
* | three less strlen invocations | Sascha Schumann | 2002-04-26 | 1 | -3/+3 |
| | |||||
* | - Proper use of underscores (s/createsid/create_sid/) | Sascha Schumann | 2002-03-30 | 1 | -2/+2 |
| | | | | | | - 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 creation | Mark L. Woodward | 2002-03-29 | 1 | -6/+15 |
| | | | | | | | 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. | ||||
* | Because of the feature "don't try to send a cookie, if the sid | Sascha Schumann | 2002-03-13 | 1 | -2/+3 |
| | | | | | | | | | was contained in get/post variables" (which I still am not convinced of completely), we need a separate variable which determines whether to define SID in the event that a cookie was not sent. Noticed by: Matt Allen | ||||
* | whitespace.. | foobar | 2002-03-09 | 1 | -1/+1 |
| | |||||
* | Do the estrdups after checking for parameter constraints. | Sascha Schumann | 2002-03-06 | 1 | -11/+11 |
| | | | | | | No real memory leaks though, because they are catched by the memory manager. | ||||
* | SID shall be defined to name=id, if the client did not supply | Sascha Schumann | 2002-03-06 | 1 | -1/+2 |
| | | | | | a cookie. | ||||
* | Merge in session API changes (carry around tsrm context) | Sascha Schumann | 2002-03-06 | 1 | -9/+9 |
| | | | | | | Now PHP_SESSION_API is defined to the date of the last change, so that externa source-code can handle changes more gracefully. | ||||
* | Always initialize the track-vars | Sascha Schumann | 2002-03-06 | 1 | -1/+1 |
| | |||||
* | Weep out all recent commits of Yasuo. | Sascha Schumann | 2002-03-06 | 1 | -151/+82 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Oops. Fix compile failure | Yasuo Ohgaki | 2002-03-06 | 1 | -2/+1 |
| | |||||
* | Using session_save_path() after starting session is obvious error. | Yasuo Ohgaki | 2002-03-06 | 1 | -1/+6 |
| | | | | | | Riase E_NOTICE error instead of E_WARNING. Since it is valid if user uses session_save_path() with session_module_name(). | ||||
* | Return FALSE when session_module_name() failed. Fix a little leak. | Yasuo Ohgaki | 2002-03-06 | 1 | -13/+19 |
| | |||||
* | Raise error when session module failed to open or read | Yasuo Ohgaki | 2002-03-06 | 1 | -5/+9 |
| | |||||
* | Remove TSRMLS_FETCH() and use TSRMLS_C/TSRMLS_D | Yasuo Ohgaki | 2002-03-06 | 1 | -13/+14 |
| | | | | | # Need a little more work for backword compatibility | ||||
* | Fix bug #15322 and fix a little memory leak | Yasuo Ohgaki | 2002-03-05 | 1 | -50/+104 |
| | |||||
* | Make $_SESSION and $HTTP_SESSION_VARS links to each other | Zeev Suraski | 2002-03-05 | 1 | -0/+1 |
| | |||||
* | Silence warning under Solaris 8 (WorkShop Compilers 5.0 98/12/15 C 5.0). | Jon Parise | 2002-03-04 | 1 | -1/+1 |
| | |||||
* | Fix another crash bug | Zeev Suraski | 2002-03-02 | 1 | -0/+2 |
| | |||||
* | Fix a crash bug in the session module | Zeev Suraski | 2002-03-02 | 1 | -2/+3 |
| | |||||
* | Added ob_get_status() to get array of buffers and it's status. | Yasuo Ohgaki | 2002-03-01 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | (DO NOT document this function yet) Fixed crash bug with ob_end_*() function. ob_end_*() will not delete buffers that may not be deleted. php_start_ob_buffer() and php_ob_set_internal_handler() takes parameter for if the buffer created may be deleted or not. Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be deleted until script finshes. Changed ob_*() function that have void return type to bool. All ob_*() functions return TRUE for success, FALSE for failure. @ - Added ob_get_status() to get array of buffers and it's status. (Yasuo) @ - Fixed crash bug with ob_end_*() function. ob_end_*() will not delete @ buffers that may not be deleted. (Yasuo) @ - Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be @ deleted until script finshes. (Yasuo) @ - Changed ob_*() function that have void return type to bool. All ob_*() @ functions return TRUE for success, FALSE for failure. (Yasuo) | ||||
* | move to the ZEND_DECLARE_MODULE_GLOBALS() and ZEND_EXTERN_MODULE_GLOBALS | Sterling Hughes | 2002-02-07 | 1 | -5/+1 |
| | | | | | macros | ||||
* | Let's be consistent and use zval instead of pval | foobar | 2002-02-05 | 1 | -12/+12 |
| | |||||
* | Export php_session_start(). | foobar | 2002-02-05 | 1 | -1/+1 |
| | |||||
* | Revert last commit. Last patch has problem for the 1st request. | Yasuo Ohgaki | 2002-02-03 | 1 | -11/+9 |
| | | | | | | # I also found what's wrong in mod_mm.c :) # I'll fix it later since don't have much time now. | ||||
* | Fixed crash when save_path is invalid. | Yasuo Ohgaki | 2002-02-03 | 1 | -9/+11 |
| | | | | | | Fixed crash when user save handler is incorrectly used. Fixed crash when session read failed. | ||||
* | @ - Don't touch any globals in session_unset() if register_globals is set | Thies C. Arntzen | 2002-01-17 | 1 | -7/+9 |
| | | | | | | | | | | | @ to off. (Thies) guys, shoot me if i'm wrong, but when we have set register_globals to off we should _not_ touch any global variables at any time, right? so all session register/unregister should only work on $HTTP_SESSION_VARS and $_SESSION. this patch fixes at least one spot where we were touching globals even with register_globals set to off. | ||||
* | Export php_session_register_module/serializer | Yasuo Ohgaki | 2002-01-16 | 1 | -2/+2 |
| | |||||
* | Get rid of error message | Yasuo Ohgaki | 2001-12-30 | 1 | -3/+6 |
| | | | | | | # These lines should be enabled when save handlers can be initialized # before session module initialization. | ||||
* | Fix crash with external session save handlers | Yasuo Ohgaki | 2001-12-26 | 1 | -1/+1 |
| | | | | | | | # This fixes only a little issue with sub modules # More fixes are needed to make sub modules work correctly. # 4.1.x also has the same problem.... | ||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 |
| | |||||
* | Remove PS_DEL_VAR macro, always use PS_DEL_VARL() | Zeev Suraski | 2001-12-06 | 1 | -1/+1 |
| | |||||
* | proto fix | Hartmut Holzgraefe | 2001-12-04 | 1 | -1/+3 |
| | |||||
* | Save entries in $_SESSION even if register_globals is on | Zeev Suraski | 2001-11-24 | 1 | -4/+4 |
| | |||||
* | Entries registered with session_register() and altered by changing | Zeev Suraski | 2001-11-24 | 1 | -9/+9 |
| | | | | | $_SESSION (or $HTTP_SESSION_VARS) were not properly saved. Fixed. | ||||
* | whitespace | Zeev Suraski | 2001-11-24 | 1 | -9/+9 |
| | |||||
* | Rewrite of unserializer which should be more maintainable and extensible. | Sascha Schumann | 2001-11-10 | 1 | -3/+3 |
| | | | | | | | Changes pass `make test´ and a couple of custom tests. Enjoy. | ||||
* | added private_no_expire mode on session patched by Yasuo Ohgaki. | Rui Hirokawa | 2001-11-02 | 1 | -0/+11 |
| | |||||
* | Fix ZTS build. | Andrei Zmievski | 2001-10-22 | 1 | -1/+0 |
| | |||||
* | @- Added session_cache_expire() function. (patch from anuradha@gnu.org) | Andrei Zmievski | 2001-10-22 | 1 | -0/+24 |
| | |||||
* | fix ws issue introduce in my use_trans_sid commit... | Sterling Hughes | 2001-10-18 | 1 | -2/+2 |
| | | | | | # still getting used to emacs | ||||
* | fix formatting, this line really was too long ;) | Sterling Hughes | 2001-10-18 | 1 | -1/+5 |
| | |||||
* | force use of the session.use_trans_sid setting | Sterling Hughes | 2001-10-18 | 1 | -4/+6 |
| | |||||
* | * zend_module_entry change: apino, debug and zts are moved first, | Stig Bakken | 2001-10-11 | 1 | -0/+2 |
| | | | | | | see README.EXTENSIONS file for upgrade help. @Introduced extension version numbers (Stig) | ||||
* | Always seed the LCG from the request-init hook, otherwise the seed | Sascha Schumann | 2001-09-21 | 1 | -4/+8 |
| | | | | | | | | | would be shared among the threads which is quite pointless. Also use a function of the current time as one factor. Use gettimeofday() instead of time(), because it is faster on some operating systems. | ||||
* | revert last commit. Guys, discuss such things first, then commit. Mkay? | Sascha Schumann | 2001-09-11 | 1 | -10/+3 |
| | |||||
* | Add an API function for setting the session id from a session module... | Sterling Hughes | 2001-09-11 | 1 | -3/+10 |
| | | | | | # The SRM folks wanted/needed this | ||||
* | - Don't wrap lines... this is annoying while coding. | Derick Rethans | 2001-09-09 | 1 | -2/+2 |
| |