summaryrefslogtreecommitdiff
path: root/ext/session
Commit message (Collapse)AuthorAgeFilesLines
* ws fixfoobar2002-07-031-41/+40
|
* - Fixed bug: #17977, session build as shared works now with mm handler too.foobar2002-06-284-30/+45
| | | | | - Added listing of save handlers into phpinfo() output
* This option enables administrators to make their users invulnerable toSascha Schumann2002-06-122-3/+5
| | | | | attacks which involve passing session ids in URLs.
* - Tell the user why his session doesn't work if he uses custom session_id()s.Markus Fischer2002-05-301-2/+7
|
* Changing email address.Andrei Zmievski2002-05-131-1/+1
|
* - Fix the way code was outcommentedSascha Schumann2002-05-121-43/+36
| | | | | | | - Remove unused STR_CAT macro - Remove limits/tests based on unused macro - Implement cache_limiter(private) using private_no_expire
* Revert Preston's patchSander Roobol2002-05-091-930/+921
|
* Change default directory for session data from /tmp (non-portable) to none.Preston L. Bannister2002-05-091-921/+930
| | | | | | Default directory for session data (if not specified) is same (platform-specific) directory used for temporary files. This is backwards compatible and removes the need for explicitly specifying the session.save_path on Win32.
* re-add accidentily nuked session_adapt_url()Thies C. Arntzen2002-05-052-4/+9
|
* simplify handling of variables by maintaining two strings whichSascha Schumann2002-05-041-1/+3
| | | | | | | | | | | | are simply appended instead of traversing the hash table on each URL/form. also fix an unconditional segfault in rshutdown due to efree'ing a static char *. remove remove_var, add reset_vars. move the function declarations into the right header file.
* Fix --enable-session=sharedSascha Schumann2002-05-041-3/+3
|
* Fix ZTS build.Sebastian Bergmann2002-05-031-2/+2
|
* @ - Added output_add_rewrite_var() and output_remove_rewrite_var() to injectThies C. Arntzen2002-05-032-44/+2
| | | | | | | @ 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-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
|