Commit Graph

46 Commits

Author SHA1 Message Date
Ralf Becker
31f92ecdd7 replace previous logout code with cd=1 "You have been successfully logged out" 2015-07-17 06:29:01 +00:00
Ralf Becker
930b880347 fixed fatal error "class errorlog not found" 2014-07-12 10:11:53 +00:00
Klaus Leithoff
9ae32b68a0 * API: fixed a reported deprecated warning on logout when using CAS 2011-12-09 10:55:40 +00:00
Klaus Leithoff
7ab34137a7 changing the call of get_sessionid to retrieve the egw_session not only the basic_auth session, this fixes the problem, that sessions where not destroyed at logout 2009-10-02 08:33:13 +00:00
Ralf Becker
cdd5103888 fixing a few more PHP5.3 problems, caused by PHP5.3 behavior to NOT
register cookies in $_REQUEST any more by default (there's now a php.ini
variable 'request_order' to controll that, but we want to work with a
default configuraltion):
- session restore was not working, as only $_REQUEST[sessionid] was checked
- multi domain installs not working, as domain cookie was not checked
- encrypted session were not working, because kp3 cookie was not checked
--> there's now a static method egw_session::get_request($name), which
checks $_REQUEST[$name], $_COOKIE[$name] and for that Safari bug also
$_COOKIE[ucfirst($name)]
2009-08-22 19:32:28 +00:00
Ralf Becker
fde8fc7b27 CAS (Central Authentication Service) login for eGroupware 2008-11-15 10:54:39 +00:00
Ralf Becker
b16e63fd6f reworked etemplate to have static methods and use the new features of egw_db- & html-class 2008-03-09 14:37:57 +00:00
Miles Lott
91d24d72cb Update headers 2007-02-28 03:33:37 +00:00
Cornelius Weiß
d160582449 fix not working logout if coocki auth is enabled 2007-02-20 16:16:02 +00:00
Ralf Becker
f7887c6dc3 always initialising $GLOBALS['egw_info'] 2006-10-03 15:18:03 +00:00
Ralf Becker
d6b7fc3c35 phpgw_setcookie --> egw_setcookie and removing old code - I have no idea what is was supposed to do 2006-09-27 07:10:43 +00:00
Lars Kneschke
74b9b2c9fa remember the login referer. That allows us to redirect to this page, after login the user out. 2006-08-23 13:50:02 +00:00
Ralf Becker
e2e0fd6446 Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:11:48 +00:00
Ralf Becker
2a05447886 fixed domain-selection via url 2005-10-09 12:02:24 +00:00
Miles Lott
a1e8f71b22 Formatting cleanup; Removed stray whitespace, especially from the end of some files; Convert api arrays to egw/egw_info 2005-07-08 05:00:14 +00:00
Cornelius Weiß
e70ba22f00 corrected typho remeber --> remember. 2005-05-11 18:54:34 +00:00
Cornelius Weiß
632a990cfb added support for authentication via cookie. NOTE: you have to enable this in setup if u want to use it. 2005-05-11 18:25:17 +00:00
Ralf Becker
d847c0e125 fixed bug [ 1001387 ] Error Emailing Attachments - missing closedir prefents rmdir on win 2004-08-03 14:13:37 +00:00
Miles Lott
4137e48c3e should be disable_Template_class 2004-01-10 14:48:09 +00:00
Ralf Becker
f76c6eedd7 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:16:30 +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
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
Miles Lott
9ab254b6eb re-add check for cookie setting 2002-03-04 00:59:29 +00:00
seek3r
32306abaf6 some additional performance improvements, including a switch to the hooks class which I finished up 2002-01-02 14:33:05 +00:00
Miles Lott
e8f25234ec Oops, add needed ')' 2001-12-12 16:48:52 +00:00
Miles Lott
7e9bbeb3e9 wrap log object in is_object 2001-12-12 16:09:41 +00:00
jengo
3a65ab5a7f Added passing $sessionid and $kp3 parameters to session->destroy() 2001-09-28 21:40:45 +00:00
Miles Lott
dddf896338 Semi-major adjustement with the goal of removing the register_globals requirement;
Silence possible error if line# is not sent to errorlog class (often); This was
tested with the setting on again and seems to work
2001-08-21 18:34:56 +00:00
jerrywestrick
149888c36d Changed the calling format of the errorlog routines to new array() form 2001-08-06 22:21:28 +00:00
jengo
7f9849a64a Added eventlog reporting 2001-08-05 09:19:08 +00:00
Miles Lott
a3e797a6e8 Change sep to SEP 2001-06-13 06:22:36 +00:00
jengo
c418e966d1 Added hookable 'logout' location 2001-06-07 01:44:09 +00:00
jengo
0003ec27a0 Clean up some of the code 2001-03-31 11:43:14 +00:00
seek3r
6f8ffb8f59 made more iis friendly 2000-11-30 08:15:33 +00:00
jengo
3c55f988ae Fixed the big cookie bug 2000-11-23 09:04:10 +00:00
seek3r
438d01c4aa fixed problem with leaving cookies mode. 2000-10-05 07:11:49 +00:00
seek3r
317739dff5 fixed problem with templates dir 2000-09-28 00:50:18 +00:00
seek3r
ba68c71ebb moving to new translation system 2000-09-07 20:49:55 +00:00
seek3r
081ad0be4b converted from phpgw_flags to phpgw_info[flags] 2000-09-05 18:36:13 +00:00
seek3r
0f6842bd5b fixed so that logout and destroy session actually work, even for cookies 2000-09-03 14:32:13 +00:00
jengo
441e583de2 Fixed wrong message being show on login.php 2000-09-03 13:02:32 +00:00
skeeter
e98124bfdb fixed misspelling of filesystem_separator 2000-08-26 20:12:01 +00:00
jengo
cc8f0658e6 logout.php is now working properly 2000-08-25 21:36:20 +00:00
jengo
6c34fe2f48 Fixed a typo and replace the old file system separator with the new one 2000-08-24 23:20:53 +00:00
jengo
3ef5c4b3f6 Started removing the old file systems separator and replacing with the new one 2000-08-24 21:21:21 +00:00
seek3r
fb03d1cbaa Initial revision 2000-08-18 03:24:22 +00:00