Zeev Suraski
aa6d2ac5d0
Heads up people!
...
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
2000-12-22 12:57:09 +00:00
Sascha Schumann
225a08e8dd
No need for GCC extensions in non-debugging mode.
...
PR: #8345
2000-12-21 05:31:18 +00:00
Sascha Schumann
5347ef1728
Whitespace fix and initialize ret properly
2000-11-22 04:10:04 +00:00
Stanislav Malyshev
119ee485c6
Move "replace value" logic to Zend
2000-11-20 12:39:14 +00:00
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +00:00
Stanislav Malyshev
92dd81ba7f
Fix #3261 - variables declared as "global" in function do not get the right
...
value after session_start.
2000-11-19 13:13:36 +00:00
Sascha Schumann
0feb2a21e5
Add some additional checks
...
Submitted by: mookid@sigent.ru (Mikhail Zabaluev)
2000-11-03 12:00:49 +00:00
Sascha Schumann
b4ce4e2634
Fix implementation of hash algorithm
2000-11-03 11:59:41 +00:00
Sascha Schumann
43ff395b65
Const'ify part of sapi_request_info.
...
query_string, post_data, path_translated, request_uri, auth_user,
auth_password and argv0 are modified, so they cannot become const.
2000-11-02 15:47:02 +00:00
Stanislav Malyshev
c31faf0bd9
Add support for serializing references.
...
@- Add support for serializing references (Stas)
# WDDX and shared memory functions not covered yet
2000-10-30 17:10:06 +00:00
Zeev Suraski
1fd09132c2
Initial steps to move the INI mechanism to the Zend engine
2000-10-29 11:38:26 +00:00
Stanislav Malyshev
06de8e78cf
Allow to send secure cookies
2000-10-28 17:13:28 +00:00
Sascha Schumann
4f757a3af0
Add session_adapt_url().
2000-10-26 18:10:43 +00:00
Andrei Zmievski
27a1c12ad8
session_unset() now cleans up $HTTP_SESSION_VARS as well.
2000-10-26 17:37:47 +00:00
Alexander Feldman
7c11cfaf03
Fixed a bug in session.c. If the user calls session_module_name with a
...
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.
2000-10-23 13:10:01 +00:00
foobar
7a54e0b10c
Fixed crash (bus error) in readdir() and session cleanup when compiled
...
with Sun CC.
2000-10-18 14:14:14 +00:00
Sascha Schumann
7c0ba95806
fix indentation
2000-10-17 02:50:15 +00:00
Daniel Beulshausen
4086197d95
fixes bug 7055 & 7235
2000-10-16 10:35:43 +00:00
Sascha Schumann
d2d5320ee8
Add session_write_close(). This is primarily intended to enable
...
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.
2000-10-11 19:47:15 +00:00
Sascha Schumann
11c88a0ff5
Return SUCCESS from write handler, if vallen is 0.
...
Submitted by: tcarroll@chc-chimes.com
PR: #6958
2000-09-29 21:44:45 +00:00
Sascha Schumann
5bf4e7857d
Clean up STR_CAT macro (it is still ugly)
2000-09-27 15:24:09 +00:00
Sascha Schumann
d959c647e2
Remove superflucious variable
2000-09-26 11:00:02 +00:00
Sascha Schumann
9c6414d6fa
Deactivate E_NOTICE message on gc
2000-09-20 01:38:39 +00:00
Sascha Schumann
07e71ce1f1
s/url_scanner.h/url_scanner_ex.h/
2000-09-20 01:22:55 +00:00
Sascha Schumann
61dc840cdd
Make the new url scanner the default.
...
If there are any problems (especially with characters > 127), let me know.
2000-09-20 01:22:17 +00:00
Sascha Schumann
51498e1d3f
Kill warning
2000-09-19 17:46:23 +00:00
Sascha Schumann
2ec043606b
*** empty log message ***
2000-09-19 17:22:37 +00:00
Sascha Schumann
bd616da7ca
Libc5-readdir_r workaround
2000-09-11 15:24:28 +00:00
Sascha Schumann
cb410a2f3c
Convert some more "complex" expressions manually to Z_* macros.
2000-09-06 14:25:47 +00:00
Sascha Schumann
5bbddee81e
Rename symbols whose first character was an underscore.
2000-09-06 14:16:12 +00:00
Sascha Schumann
4fb5088f89
Convert to Z_* macros
2000-09-06 14:13:31 +00:00
Sascha Schumann
4eb2481830
Why make it more complex than necessary?
...
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.
2000-09-06 00:50:01 +00:00
Stanislav Malyshev
795083a15c
Now it should not crash, though still leaks
...
# I'll continue with it tomorrow
2000-09-05 22:42:45 +00:00
Zeev Suraski
dd0ade23cf
This fix wasn't quite right and is no longer necessary after the recent php_ini optimizations
2000-09-05 21:31:56 +00:00
Zeev Suraski
12adebbc3a
- Fix leak
...
- Remove redundant php_ini code
2000-09-05 21:18:00 +00:00
Stanislav Malyshev
20a6474eae
Fix crash
...
# This is getting worse... Seems that more work is needed
2000-09-05 19:29:03 +00:00
Zeev Suraski
eb32144902
- Remove track_vars - it is now always on
...
- Make the various $HTTP_*_VARS[] arrays be defined always,
even if they're empty
- Fix Win32 build and warnings
2000-09-05 19:06:29 +00:00
Stanislav Malyshev
3c45b97804
Try to fix session INI variables handling
...
This should also fix #6538 .
# This code gets really hairy, I do not like it,
# but it's the only working thing I could come with.
# If original creator reviews and cleans it up, it'd be great
2000-09-05 18:41:46 +00:00
Sascha Schumann
607486391a
Extend HTTP headers for private-caching and add a new PHP function
...
session_cache_limiter.
Submitted by: Jon Parise <jon@csh.rit.edu>
2000-09-01 15:56:26 +00:00
Sascha Schumann
d11012e2c9
s/PATH_MAX/MAXPATHLEN/
2000-09-01 15:47:53 +00:00
Sascha Schumann
1b5fff695d
Speed up standard php encoding function and add new php_binary serializer.
2000-09-01 15:24:58 +00:00
Sascha Schumann
d60799bf6b
Solaris/x86 insists of having a large buffer for storing the result of
...
readdir_r(), otherwise it will segfault.
PR: #6479
2000-09-01 09:38:19 +00:00
Zeev Suraski
30ccec36b9
Fix build
2000-08-20 22:18:19 +00:00
Sascha Schumann
c8b8a908ca
Provide PHP_SEPARATOR which expands to the default directory separator
...
on the target platform.
2000-08-20 14:02:57 +00:00
Sascha Schumann
34bee836b1
Remove bogus "by"
2000-08-10 19:27:30 +00:00
Stanislav Malyshev
682c58c26f
Open session files in binary mode ( fix #5953 )
...
@- Fixed \n in session variables bug on Win32 (Stas)
2000-08-05 10:25:00 +00:00
Jon Parise
021ad113ef
Reworded some of the php_error messages for grammar and clarity.
...
(For example, settled on "cannot" instead of "can't" in all case)
2000-07-27 16:43:38 +00:00
Sascha Schumann
c917e170f6
Always use the current DIR_DELIMITER to create the session file path
2000-07-11 12:29:19 +00:00
Sascha Schumann
e8101d4f7b
Unify use of my email address
2000-07-10 10:09:15 +00:00
Sascha Schumann
eb0cbbd2d9
Also output the name of the save_handler when reporting a failed write
...
attempt.
2000-07-10 08:35:03 +00:00