summaryrefslogtreecommitdiff
path: root/ext/session
Commit message (Collapse)AuthorAgeFilesLines
* revert session_set_userdata - diffent patch will come shortlyThies C. Arntzen2002-04-282-40/+2
|
* @ - added session_set_userdata() which enables you to specify one variableThies C. Arntzen2002-04-272-2/+40
| | | | | | @ 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 invocationsSascha Schumann2002-04-261-3/+3
|
* Add #ifdef.. around F_SETFD.Sascha Schumann2002-04-231-0/+3
|
* Set the close-on-exec flag for fds. Child processes should not inheritSascha Schumann2002-04-221-10/+7
| | | | | | | | | | the fd. Also rip out the broken O_EXCL use. Our file names are not unique and this left a small window open where creating a session file would fail (a, b notice that the file does not exist; a creates the file successfully; b tries to create, but fails due to O_EXCL).
* Fixed file include errorYasuo Ohgaki2002-04-196-6/+6
|
* - Proper use of underscores (s/createsid/create_sid/)Sascha Schumann2002-03-302-12/+10
| | | | | | - 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-292-9/+40
| | | | | | | 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.
* the 'setup' script was removed more than two years ago.jim winstead2002-03-161-6/+0
| | | | | these can be safely removed from the 4.2 branch, too.
* Because of the feature "don't try to send a cookie, if the sidSascha Schumann2002-03-131-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
* Add missing skipif.incYasuo Ohgaki2002-03-121-0/+13
|
* whitespace..foobar2002-03-091-1/+1
|
* Fixed many tests, mostly incorrect paths.Sander Roobol2002-03-086-0/+12
|
* These tests currently depend on register_globals=1Sascha Schumann2002-03-075-0/+10
|
* Please welcome the new build system.Sascha Schumann2002-03-072-8/+1
| | | | | | | | | | If you encounter any problems, please make sure to email sas@php.net directly. An introduction can be found on http://schumann.cx/buildv5.txt
* Do the estrdups after checking for parameter constraints.Sascha Schumann2002-03-061-11/+11
| | | | | | No real memory leaks though, because they are catched by the memory manager.
* Did not revert back enough.Sascha Schumann2002-03-061-3/+8
| | | | | | This patch does not make sense, because it enforces the existence of a single directory.
* SID shall be defined to name=id, if the client did not supplySascha Schumann2002-03-061-1/+2
| | | | | a cookie.
* Merge in session API changes (carry around tsrm context)Sascha Schumann2002-03-064-31/+29
| | | | | | 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-varsSascha Schumann2002-03-061-1/+1
|
* Weep out all recent commits of Yasuo.Sascha Schumann2002-03-065-183/+108
| | | | | | | | | | | | | | | 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.
* Fixed typo :)Yasuo Ohgaki2002-03-061-1/+1
|
* Use static mm file save path. Now we can safely stop web server at start up ↵Yasuo Ohgaki2002-03-061-8/+6
| | | | when there is an error. Older mm uses static mm file path anyway.
* Fix crash bug #14232Yasuo Ohgaki2002-03-061-1/+3
|
* Make php start even with wrong save_path.Yasuo Ohgaki2002-03-061-5/+7
|
* Oops. Fix compile failureYasuo Ohgaki2002-03-061-2/+1
|
* Using session_save_path() after starting session is obvious error.Yasuo Ohgaki2002-03-061-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 Ohgaki2002-03-061-13/+19
|
* Raise error when session module failed to open or readYasuo Ohgaki2002-03-061-5/+9
|
* More TSRM workYasuo Ohgaki2002-03-062-7/+7
|
* Remove TSRMLS_FETCH() and use TSRMLS_C/TSRMLS_DYasuo Ohgaki2002-03-063-28/+25
| | | | | # Need a little more work for backword compatibility
* Fixed crash with mm save handlerYasuo Ohgaki2002-03-051-1/+4
|
* Fix bug #15322 and fix a little memory leakYasuo Ohgaki2002-03-051-50/+104
|
* Make $_SESSION and $HTTP_SESSION_VARS links to each otherZeev Suraski2002-03-051-0/+1
|
* Silence warning under Solaris 8 (WorkShop Compilers 5.0 98/12/15 C 5.0).Jon Parise2002-03-041-1/+1
|
* Fix another crash bugZeev Suraski2002-03-021-0/+2
|
* Fix a crash bug in the session moduleZeev Suraski2002-03-021-2/+3
|
* Added ob_get_status() to get array of buffers and it's status.Yasuo Ohgaki2002-03-011-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)
* Maintain headers.Sebastian Bergmann2002-02-287-7/+7
|
* move to the ZEND_DECLARE_MODULE_GLOBALS() and ZEND_EXTERN_MODULE_GLOBALSSterling Hughes2002-02-072-11/+4
| | | | | macros
* Let's be consistent and use zval instead of pvalfoobar2002-02-051-12/+12
|
* Export php_session_start().foobar2002-02-052-1/+2
|
* Revert last commit. Last patch has problem for the 1st request.Yasuo Ohgaki2002-02-032-23/+14
| | | | | | # 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 Ohgaki2002-02-032-14/+23
| | | | | | Fixed crash when user save handler is incorrectly used. Fixed crash when session read failed.
* We need mm file for each user.Yasuo Ohgaki2002-01-251-5/+9
| | | | | | # GCI/CLI SAPI need this. It might be better to disable mm save handler # for CGI/CLI, though.
* Add sapi postfix for mm save path.Yasuo Ohgaki2002-01-251-8/+11
| | | | | | cli/cgi would not complain about mm save handler with this. # I'm really annoyed by mm save path problem...
* @ - Don't touch any globals in session_unset() if register_globals is setThies C. Arntzen2002-01-171-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/serializerYasuo Ohgaki2002-01-161-2/+2
|
* Export php_session_register_module/serializer.Yasuo Ohgaki2002-01-161-2/+2
|
* Fix startup crashYasuo Ohgaki2002-01-101-2/+4
| | | | | | | # Sascha, thanks for fixing poor patch :) # mm save handler does not work regardlress of # save path patch or not for some reason.