Changeset 3867
- Timestamp:
- 03/14/11 16:49:45 (12 years ago)
- Location:
- branches/2.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/header.session.inc.php
r3018 r3867 35 35 if (empty($_SESSION['phpgw_session']['session_id']) || $invalidSession) 36 36 { 37 if($_SESSION['connection_db_info']['user_auth'] && !strstr($_SERVER['SCRIPT_ URL'],"/controller.php")) {37 if($_SESSION['connection_db_info']['user_auth'] && !strstr($_SERVER['SCRIPT_NAME'],"/controller.php")) { 38 38 error_log( '[ INVALID SESSION ] >>>>' .$_SESSION['connection_db_info']['user_auth'].'<<<< - >>>>' . implode("",$user_agent), 0 ); 39 39 $GLOBALS['phpgw']->session->phpgw_setcookie('sessionid'); … … 44 44 unset($_SESSION); // Removing session values. 45 45 // From ExpressoAjax response "nosession" 46 if(strstr($_SERVER['SCRIPT_ URL'],"/controller.php")){46 if(strstr($_SERVER['SCRIPT_NAME'],"/controller.php")){ 47 47 echo serialize(array("nosession" => true)); 48 48 exit; … … 51 51 else{ 52 52 // From ExpressoAjax update session_dla (datetime last access). 53 if(strstr($_SERVER['SCRIPT_ URL'],"/controller.php"))53 if(strstr($_SERVER['SCRIPT_NAME'],"/controller.php")) 54 54 $_SESSION['phpgw_session']['session_dla'] = time(); 55 55 -
branches/2.2/mobile/inc/class.mobiletemplate.inc.php
r3829 r3867 165 165 } 166 166 167 $GLOBALS['phpgw']->session->appsession('mobile.last_url','mobile',$_SERVER["SCRIPT_ URL"]);167 $GLOBALS['phpgw']->session->appsession('mobile.last_url','mobile',$_SERVER["SCRIPT_NAME"]); 168 168 $GLOBALS['phpgw']->session->appsession('mobile.last_request','mobile',$_REQUEST); 169 169 }
Note: See TracChangeset
for help on using the changeset viewer.