Commit Graph

43 Commits

Author SHA1 Message Date
Ralf Becker
5224372bfc "limiting the size of a session-file which gets read to list the sessions, to prefent admin users being not able to log in because of a \"runaway\" session of any other user" 2007-04-30 05:37:31 +00:00
Ralf Becker
bdb15819bd phpgw --> egw 2006-09-24 16:27:39 +00:00
Ralf Becker
a6af26d8a9 - setting the cookie path, allows to login to different eGW installs (if you want to use this together with the 1.2, you have to copy the 3 modified session-classes there too)
- documentation update
2006-09-24 06:53:34 +00:00
Lars Kneschke
fd297aad19 added support for commiting sessions(remove file lock for php sessions) 2006-06-23 19:09:38 +00:00
Ralf Becker
aa085fd849 bugfix 2006-01-11 05:20:01 +00:00
Ralf Becker
7c46b63263 1) fixed not working session kill
2) ignore (empty) login sessions created by IE and konqueror, when clicking on [login] (double submission of the form)
2005-07-13 08:29:50 +00:00
Ralf Becker
332c9c41df to work around the not terminated sessions (because php is configured by default only to check it on every 100th session-creation), we terminate now all timed out sessions when a list of sessions is requested 2005-06-18 06:38:29 +00:00
Ralf Becker
887e71e57e 1) fixed lost egw object if register_globals=On: was caused by the identicaly named session-variable used for php4-sessions (now renamed to egw_session)
2) $GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}']
2005-03-04 11:33:44 +00:00
Ralf Becker
844ec779c2 optimized handling of app_session data under php4: previously there was always a copy of the data in $GLOBALS['phpgw_sessions'], which is unnecessary and needs double as much memory. Also changed the name from $_SESSION[phpgw_session] to $_SESSION[egw] 2005-02-18 20:28:06 +00:00
viniciuscb
78ac3f7122 Fix: Added support for e-mail in user_id. 2004-11-03 21:37:01 +00:00
Ralf Becker
b8c3adb4d3 killed warning of destroying an uninitialised session:
bug [ 1026623 ] Sitemanager site can't be viewed anonymously with PHP session:
- cant reproduce it on my system, but silencing it does no harm
2004-09-13 07:46:36 +00:00
Ralf Becker
d868007dac fixed some of our sessions problems:
- [ 1015846 ] Registering session MySQL query error
- handlich of timed out sessions for php4 sessions was wrong
==> I can't reproduce any more sessions probs, either with db nor php4 sessions
2004-08-27 13:17:25 +00:00
reinerj
febeab4d8d replace the crap 2004-08-09 13:46:03 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Ralf Becker
0daaf711d7 typo 2004-03-06 20:35:23 +00:00
Ralf Becker
65034dab5a small fix to get sitemgr working with php4 sessions 2003-12-29 21:10:46 +00:00
Miles Lott
5794ca4cc1 intval() -> (int) 2003-12-13 15:03:23 +00:00
Ralf Becker
24d302ea8b - fixed the annoying php4-sessions bug
- it was introduced by changes lars merged from dave (phpGW) ;-)
- of cause php4 sessions work in eGW without sending cookies, if this is disabled in admin->site configuration
2003-10-25 11:37:36 +00:00
shrykedude
e52887d989 Hid some PHP notices behind a '@' to minimize new user confusion. 2003-10-24 00:54:28 +00:00
Ralf Becker
9384c24217 fixed php4-sessions to work with xmlrpc, our sessionid is now identical to the php4 sessionid 2003-10-21 10:46:33 +00:00
Ralf Becker
842adc7ae0 reverted lars/dave's change as it does not work !!!
PHPSESSIONID is wrongly encoded in the url
2003-10-14 12:50:51 +00:00
Lars Kneschke
ec9e4e621e little fix from dave hall 2003-10-11 13:26:01 +00:00
Ralf Becker
8ca7b7af8a killed some warnings if open_basedir restrictions do not allow to access the session-files 2003-10-02 16:58:46 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
53b8b8844f merged sesson-functions for .16, incl. cacheing the data from other session in the appsession
fixed multidomain logins for register_globals off
2003-05-18 19:16:58 +00:00
Ralf Becker
f9c53875eb Moved list_sessions and total from admin.socurrentsessions into the session-class and implemented them for php4 too.
So admin.socurrentsessions is no longer used and bocurrentsessions as well as the phpgwapi/templates/xxx/navbar.inc.php use the session-class to get the number of loged-in-users.
Aktivated the accesslog f�r php4-sessions too.
2003-03-21 00:47:18 +00:00
skeeter
084bf0c8b4 Last fix for the domain cookie. 2002-09-26 03:07:50 +00:00
Zone
453c62f1b2 Fix parse errors (extra ')'s) 2002-09-24 05:19:18 +00:00
skeeter
328f9a4bc5 One more fix for the cookie stuff. This will at least delete properly. 2002-09-15 22:14:24 +00:00
skeeter
94eb165d39 Added mr_e's patch. 2002-09-14 21:58:39 +00:00
skeeter
bf218b85ed Missing a class variable definition. 2002-09-14 21:40:48 +00:00
skeeter
f92c84b48c This was something lacking and is now used with sitemgr. 2002-09-12 02:27:58 +00:00
skeeter
40df324cf5 GNU Bug #800. 2002-09-02 02:32:10 +00:00
Miles Lott
0a3912cf96 verify that get_var did not return an empty cookie var (breaks noncookie sessions) 2002-08-12 00:59:34 +00:00
seek3r
4a2729a720 massive and sweeping change to the link() function, the way the app loads up, to a single templates class instance, to a new template set structure which automaticly handles frames support. We will have much cleanup to do to get apps working again and have them following the new guidelines 2002-05-30 09:47:09 +00:00
skeeter
14a4078963 More utilization of the get_var() function. Also, added a define() of the menuaction. This will cut down on repetitive calls to get_var for the same variable. 2002-04-30 03:35:52 +00:00
skeeter
7991524018 This will disallow groups from logging into the system. 2002-01-16 02:10:56 +00:00
skeeter
25c4b80150 Trying to get a speed increase out of the cache. 2002-01-13 04:06:40 +00:00
seek3r
ac6c2d89c4 found problem with appsession. I was purging it on accident 2002-01-02 20:50:28 +00:00
seek3r
e2b86e9082 trying to fix app session 2002-01-02 20:45:57 +00:00
seek3r
28d77dcd4a this time I really think I fixed it 2002-01-02 20:29:51 +00:00
seek3r
efd94ed2b8 fixed for pre 4.1 versions of PHP (I think) 2002-01-02 19:45:11 +00:00
seek3r
70261207f3 added php4 sessions class and added it as an option 2002-01-02 14:32:22 +00:00