Commit Graph

11 Commits

Author SHA1 Message Date
Ralf Becker
1fbdb11b23 fixed not working default param of null for _cut_bytes($data,$offset,$len=null), thought it is NOT used without 3. parameter so far 2011-01-05 23:07:28 +00:00
Ralf Becker
8935a2d0a2 fixed not working default param of null for _cut_bytes($data,$offset,$len=null), thought it is NOT used without 3. parameter so far 2011-01-05 22:50:22 +00:00
Ralf Becker
561f5e5aac needed for check_load_extension (session-handler gets included before regular include via the header.inc.php) 2009-04-22 10:35:31 +00:00
Ralf Becker
aca05a32e3 using new check_load_extension function 2009-04-20 12:43:44 +00:00
Ralf Becker
1eb956fdf5 "- do not send session data for clients doing no sessions to memcached
- use 10min session lifetime for GroupDAV as for anonymous sessions"
2008-11-25 19:36:02 +00:00
Ralf Becker
ff32c498c6 "read handler need to return '' (empty string) for a not found session!" 2008-08-29 13:29:57 +00:00
Ralf Becker
630b81235e "- try loading memcache extension, if not loaded
- allways use init_session_handler function (not only for php5.1)"
2008-08-18 13:43:51 +00:00
Ralf Becker
11b1ce5bb1 "fix to work around an other php5.1 bug/problem: class methods seem not be able to call session_set_save_handler
It returns false and the session_handler is not changed. It's working in php5.2 (at least on my OpenSUSE 11.0 with php5.2.6)"
2008-08-16 07:52:59 +00:00
Ralf Becker
db577d0330 "suppress debug message on session destroy" 2008-08-12 15:36:10 +00:00
Ralf Becker
7888b3f616 "fixed some typos" 2008-08-12 09:01:01 +00:00
Ralf Becker
907e24d227 Refractured session handling in eGW:
- DONT UPDATE ON A PROCUDTION SYSTEM (for the next few days)!
- eGW support from now on only php session handling
- custom session handlers (like the memcache one) can now be
  implemented as classes and dont need to change any other code
- the class get's autoloaded and the name need to be configured 
  eg. in the header.inc.php as $egw_info[server][session_handler]
- session restore is now enabled by default (it's way faster and
  works well with php5.1+)
- a db-bases session handler follows soon
2008-08-07 21:12:44 +00:00