Commit Graph

84 Commits

Author SHA1 Message Date
Sascha Schumann
070dfe0833 - add session.extern_referer_chk
- use combined lcg in session id creation
1999-08-21 20:48:40 +00:00
Zeev Suraski
3cb1eb0471 Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
1999-08-02 19:17:14 +00:00
Sascha Schumann
c640f3d8c8 Implement additional heuristic for session id search. Now looks into
REQUEST_URI as well.
1999-07-22 17:55:13 +00:00
Andrey Hristov
56402ec375 *** empty log message *** 1999-07-21 19:47:40 +00:00
Sascha Schumann
3b7d588f40 more to do 1999-07-18 01:20:38 +00:00
Sascha Schumann
e5cfc70f7d add session config to php.ini and adapt the naming scheme for it 1999-07-18 01:00:42 +00:00
Zeev Suraski
e7e2af5d78 Fix TS version 1999-07-16 16:09:01 +00:00
Zeev Suraski
c5724cbd14 License update 1999-07-16 13:13:16 +00:00
Sascha Schumann
42736999bc define sid to "", if we are in cookie mode 1999-07-15 21:14:46 +00:00
Sascha Schumann
2a39219142 we don't need php_sid 1999-07-15 19:51:13 +00:00
Sascha Schumann
4ea29a808d define SID appropiately 1999-07-15 19:37:35 +00:00
Andrey Hristov
e88d121be1 Fix a memory leak by not allowing session_start() to be called more than once. 1999-07-07 21:50:33 +00:00
Sascha Schumann
1f02914005 implement a simple API in the case someone wants to define his/her own serialization stuff 1999-07-01 05:45:48 +00:00
Zeev Suraski
258d427647 No need for a PSLS_FETCH() if PSLS_D/PSLS_DC are supplied as function arguments 1999-06-29 22:08:07 +00:00
Andrey Hristov
3e5f7a806f *** empty log message *** 1999-06-29 15:40:11 +00:00
Andrey Hristov
88ed2002da Added session expiration. 1999-06-29 15:39:59 +00:00
Andrey Hristov
a6aacfd2b6 Added session_is_registered(varname) function. 1999-06-28 15:46:56 +00:00
Zeev Suraski
1798a0183a * Fix a buglet in the session module
* Make some renames in the session module - avoid having a function called 'delete'
  so that we don't piss any C++ compilers.  Also rename the {startup,shutdown}_globals
  to {startup,shutdown}_session_globals, so that they're a bit less general names,
  and made them static.
* Remove uselss variables
1999-06-11 09:23:00 +00:00
Sascha Schumann
4b023c157a better scaling for large servers using many session ids 1999-06-07 19:51:54 +00:00
Sascha Schumann
d8a9548cb2 - some cleanups
- add gc logic
- add session_destroy()
1999-06-07 16:43:24 +00:00
Zeev Suraski
34b3dc9b47 - Fix PSLS issues
- Add a standard info function for the session module (use them!)
- Replace PATH_MAX with MAXPATHLEN (that's our platform indepedent constant)
1999-06-06 19:53:59 +00:00
Sascha Schumann
82806ea254 one C too much 1999-06-06 19:26:31 +00:00
Sascha Schumann
e9b28fe29c avoid unnecessary PSLS_FETCH() in internal functions 1999-06-06 19:25:39 +00:00
Andi Gutmans
f5dbfbae84 -Init tsrm on minit 1999-06-06 18:56:11 +00:00
Andi Gutmans
ed97964fbe - Use PS() everywhere. 1999-06-06 18:39:48 +00:00
Andi Gutmans
c329da5d25 - Make sessions compile on win32 but it still doesn't link. 1999-06-06 18:36:42 +00:00
Andi Gutmans
c5fd7244dd - Add some *_FETCH()'s. Still some work to be done so that it'll compile on win32. 1999-06-06 18:22:17 +00:00
Sascha Schumann
605756de7f - s/encoded/encode/
- new TODO entry
1999-06-06 15:18:51 +00:00
Sascha Schumann
a821a185e4 add some protos 1999-06-06 14:19:55 +00:00
Sascha Schumann
2f79ba1abf add some thoughts 1999-06-06 14:02:13 +00:00
Sascha Schumann
19a2a02f8e - auto startup when calling register
- auto startup using a configuration option
1999-06-05 22:24:59 +00:00
Sascha Schumann
f830cf7d15 moving start code into its own function 1999-06-05 22:15:49 +00:00
Sascha Schumann
2db1d61718 SAPI does not want line endings 1999-06-05 20:51:29 +00:00
Sascha Schumann
a1b42e3f5e first import of session module 1999-06-05 19:52:58 +00:00