summaryrefslogtreecommitdiff
path: root/ext/session/session.c
Commit message (Collapse)AuthorAgeFilesLines
...
* added private_no_expire mode on session patched by Yasuo Ohgaki.Rui Hirokawa2001-11-021-0/+11
|
* Fix ZTS build.Andrei Zmievski2001-10-221-1/+0
|
* @- Added session_cache_expire() function. (patch from anuradha@gnu.org)Andrei Zmievski2001-10-221-0/+24
|
* fix ws issue introduce in my use_trans_sid commit...Sterling Hughes2001-10-181-2/+2
| | | | | # still getting used to emacs
* fix formatting, this line really was too long ;)Sterling Hughes2001-10-181-1/+5
|
* force use of the session.use_trans_sid settingSterling Hughes2001-10-181-4/+6
|
* * zend_module_entry change: apino, debug and zts are moved first,Stig Bakken2001-10-111-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 seedSascha Schumann2001-09-211-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 Schumann2001-09-111-10/+3
|
* Add an API function for setting the session id from a session module...Sterling Hughes2001-09-111-3/+10
| | | | | # The SRM folks wanted/needed this
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* Restore session_adapt_url()Zeev Suraski2001-08-311-6/+16
|
* Cleanup and clarifyZeev Suraski2001-08-311-12/+6
|
* define_sid updatesZeev Suraski2001-08-311-8/+6
|
* Fix trans_sid handler registration logicZeev Suraski2001-08-311-1/+1
|
* CleanupZeev Suraski2001-08-271-16/+2
|
* More fixes and refinementsZeev Suraski2001-08-271-17/+15
|
* Fix my session updates.Zeev Suraski2001-08-261-10/+18
| | | | | | trans_sid handling will no longer slow down performance unless a session is actually in use.
* Fix trans-sid.Zeev Suraski2001-08-261-8/+14
| | | | | | Still need to figure out how to turn trans-sid only when sessions are actually used.
* Make the session module more independentZeev Suraski2001-08-261-28/+35
|
* Get rid of TRANS_SID - it's always possible to use it now.Zeev Suraski2001-08-251-3/+9
|
* Move the trans-sid mechanism to use the output buffering mechanism.Zeev Suraski2001-08-251-13/+27
| | | | | | | | Advantages: - Would work with the output buffering mechanism in general, and with output compression in particular - Should yield better performance (untested as of yet)
* API updateZeev Suraski2001-08-211-1/+1
|
* Track down a few more functions that don't check for 0 args and useRasmus Lerdorf2001-08-131-4/+6
| | | | | faster mechanism
* We don't consistently check for args passed to functions that don'tRasmus Lerdorf2001-08-131-0/+7
| | | | | | | | | take any args. In some cases we probably want to skip the check for performance reasons, but in other cases where performance is unlikely to be a factor, not throwing a warning on the wrong number of args passed to a function is at best inconsistent, and at worst it could hide a bug. So, add a few such checks. There are still lots of cases out there.
* Added $_SESSION to the $_* family.foobar2001-08-111-7/+12
|
* more tsrm cleanupSascha Schumann2001-08-061-2/+2
|
* more tsrm cleanupSascha Schumann2001-08-051-4/+4
|
* more tsrm cleanupSascha Schumann2001-08-051-3/+3
|
* more tsrm cleanupSascha Schumann2001-08-051-6/+6
|
* further tsrm cleanupSascha Schumann2001-08-051-14/+8
|
* - TSRMLS_FETCH workZeev Suraski2001-08-051-1/+1
| | | | | - whitespace fixes
* Do the nul'ifiying of php_var_serialize's result at the right placeSascha Schumann2001-08-031-4/+0
|
* Pass on nul'ified dataSascha Schumann2001-08-031-0/+4
|
* Add some castsSascha Schumann2001-08-031-3/+3
|
* Convert serializer to smart_str.. avoids lots of sprintf's andSascha Schumann2001-08-031-36/+17
| | | | | copying of data.
* More TSRMLS_FETCH work, and a bit of cleanupZeev Suraski2001-07-301-7/+0
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-93/+63
|
* - Get rid of ELS_*(), and use TSRMLS_*() instead.Zeev Suraski2001-07-271-5/+5
| | | | | | | - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
* Get rid of memchrSascha Schumann2001-07-251-3/+12
|
* Fix Windows buildZeev Suraski2001-07-201-1/+0
|
* Instead of using the poor system rand() algorithm and theSascha Schumann2001-07-181-3/+2
| | | | | | system-time seed, rely on the long-living LCG to determine whether to start the GC process.
* make regession test of session work without the ugly hack in session.cThies C. Arntzen2001-07-131-7/+0
| | | | | and removed that ugly hack.
* workaround to make ext/session well behaved with 'make test' and E_ALLHartmut Holzgraefe2001-07-111-1/+9
|
* cleanup in preparation for session_readonly()Hartmut Holzgraefe2001-07-111-12/+12
|
* Improve url scanner speed (up to 40% for large chunks of data)Sascha Schumann2001-07-041-0/+10
| | | | | | | and handle some corner cases better. The scanner has been changed to the format as proposed in "RE2C - A More Versatile Scanner Generator" by Cowan et al.
* suppress sending of cookies if session id already cameHartmut Holzgraefe2001-06-291-0/+2
| | | | | from a non-cookie source
* - fixed the reference in session thingieThies C. Arntzen2001-06-211-25/+30
| | | | | | | | | | - regression test checked (this time;-) - added new regression test for references - references _between_ session variables also work in when the session var replaces an already existing global var (this was a brain twister) - saved one strlen call per session variable - fixed one tiny leak
* Back out severely broken patch. I currently don't have the timeSascha Schumann2001-06-201-9/+16
| | | | | to debug this. Please reapply a fixed version.
* @- Fixed references in sessions. This doesn't work when using theThies C. Arntzen2001-06-201-16/+9
| | | | | | | | @ WDDX session-serializer. Also improved speed of sessions. (Thies) from now on php_set_session_var no longer copies the variable recovered from a session (tested with php, php_binary and wddx). this should speed up session deserializing quite a bit. (this damn thing has cost me 6 hours of my life;-)