summaryrefslogtreecommitdiff
path: root/ext/session/session.c
Commit message (Collapse)AuthorAgeFilesLines
...
* removed warningsHarald Radi2001-06-101-1/+1
|
* Signal that no entry was foundSascha Schumann2001-06-101-1/+1
|
* Check for http_session_vars != NULL.Sascha Schumann2001-06-081-1/+3
|
* Fold a bit more codeRasmus Lerdorf2001-06-061-5/+17
|
* * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)Stig Bakken2001-05-241-0/+4
|
* Due to dynamic registration of storage handlers, OnUpdateSaveHandlerSascha Schumann2001-05-231-3/+12
| | | | | | | might be called before that registration takes place and hence the INI update is dismissed. In that case, we defer the lookup to the first request init.
* @- Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same valueAndrei Zmievski2001-05-221-2/+2
| | | | | @ when register_globals is on. (Andrei)
* Improve reading from external data source for session id creation.Sascha Schumann2001-05-191-11/+19
| | | | | Improve generating the string representation of the md5 session id.
* Nuke some warnings.Sascha Schumann2001-05-131-3/+3
|
* add an interface for registering storage modules at run-time.Sascha Schumann2001-05-031-4/+27
|
* Patch from Sascha that abstracts session serializers. WDDX extensionAndrei Zmievski2001-05-011-121/+37
| | | | | | now implements the encode/decode functions and registers them with the session module.
* - Change macros from V_ to VCWD_ because of AIX name clashAndi Gutmans2001-04-301-2/+2
|
* - use get_current_key_ex() in order to receive key length and not havingAndi Gutmans2001-04-261-29/+24
| | | | | - to use strlen() everywhere.
* compile was broken, new argument?Shane Caraveo2001-04-261-1/+1
|
* buf is gone. Don't reference it.Sascha Schumann2001-03-131-1/+1
|
* Replace another sprintfSascha Schumann2001-03-131-3/+5
|
* Nuke calls to sprintf, snprintf, strcat, strcpy and rely onSascha Schumann2001-03-131-44/+34
| | | | | memcpy and smart_strs.
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Use MAKE_STD_ZVAL/FREE_ZVAL to handle zval memory allocation.Sascha Schumann2001-01-071-4/+4
|
* Use zval_ptr_dtor instead of zval_dtor/FREE_ZVAL pair.Sascha Schumann2001-01-071-2/+1
| | | | | Submitted by: Andi Gutmans
* More instances of s/efree/FREE_ZVAL/Sascha Schumann2000-12-241-1/+1
|
* (PHP session_unset) Return early, if no session was started.Sascha Schumann2000-12-221-0/+3
| | | | | PR: #8354
* Heads up people!Zeev Suraski2000-12-221-10/+4
| | | | | | Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok...
* Whitespace fix and initialize ret properlySascha Schumann2000-11-221-9/+9
|
* Move "replace value" logic to ZendStanislav Malyshev2000-11-201-13/+3
|
* Fix #3261 - variables declared as "global" in function do not get the rightStanislav Malyshev2000-11-191-5/+26
| | | | | value after session_start.
* Const'ify part of sapi_request_info.Sascha Schumann2000-11-021-1/+1
| | | | | | query_string, post_data, path_translated, request_uri, auth_user, auth_password and argv0 are modified, so they cannot become const.
* Add support for serializing references.Stanislav Malyshev2000-10-301-4/+20
| | | | | | @- Add support for serializing references (Stas) # WDDX and shared memory functions not covered yet
* Initial steps to move the INI mechanism to the Zend engineZeev Suraski2000-10-291-7/+7
|
* Allow to send secure cookiesStanislav Malyshev2000-10-281-4/+19
|
* Add session_adapt_url().Sascha Schumann2000-10-261-6/+11
|
* session_unset() now cleans up $HTTP_SESSION_VARS as well.Andrei Zmievski2000-10-261-0/+3
|
* Fixed a bug in session.c. If the user calls session_module_name with aAlexander Feldman2000-10-231-7/+11
| | | | | | | parameter, then the mod_data pointer is initialized to NULL and then php_session_save_current_state did not check this value before referencing the pointer. Added a check in php_session_save_current_state.
* Add session_write_close(). This is primarily intended to enableSascha Schumann2000-10-111-7/+18
| | | | | | | | | script writers to release the lock associated with the session lock before the request finishes. You can pass arrays now to session_set_save_handler(), so that the handlers can be located in an object for better abstraction.
* Clean up STR_CAT macro (it is still ugly)Sascha Schumann2000-09-271-8/+3
|
* Remove superflucious variableSascha Schumann2000-09-261-3/+1
|
* Deactivate E_NOTICE message on gcSascha Schumann2000-09-201-0/+2
|
* s/url_scanner.h/url_scanner_ex.h/Sascha Schumann2000-09-201-1/+1
|
* Make the new url scanner the default.Sascha Schumann2000-09-201-1/+1
| | | | | If there are any problems (especially with characters > 127), let me know.
* Kill warningSascha Schumann2000-09-191-2/+0
|
* *** empty log message ***Sascha Schumann2000-09-191-3/+1
|
* Convert some more "complex" expressions manually to Z_* macros.Sascha Schumann2000-09-061-7/+7
|
* Rename symbols whose first character was an underscore.Sascha Schumann2000-09-061-25/+25
|
* Convert to Z_* macrosSascha Schumann2000-09-061-47/+47
|
* Why make it more complex than necessary?Sascha Schumann2000-09-061-58/+13
| | | | | | | | | | | These changes should have been committed right after Zeev made the original change to use the PHP_INI system months ago. Instead of working around the system, we make proper use of it now. This includes using php_alter_ini_entry(), so that we change the values in the php_ps_globals struct indirectly.
* Now it should not crash, though still leaksStanislav Malyshev2000-09-051-1/+8
| | | | | # I'll continue with it tomorrow
* This fix wasn't quite right and is no longer necessary after the recent ↵Zeev Suraski2000-09-051-1/+1
| | | | php_ini optimizations
* - Fix leakZeev Suraski2000-09-051-3/+3
| | | | | - Remove redundant php_ini code
* Fix crashStanislav Malyshev2000-09-051-1/+1
| | | | | # This is getting worse... Seems that more work is needed
* - Remove track_vars - it is now always onZeev Suraski2000-09-051-38/+7
| | | | | | | - Make the various $HTTP_*_VARS[] arrays be defined always, even if they're empty - Fix Win32 build and warnings