Incomplete - bug 244136: The server should not remember the callback pages as the last page.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=244136
diff --git a/html/global.php b/html/global.php
index b496f1d..dbe23a0 100644
--- a/html/global.php
+++ b/html/global.php
@@ -74,8 +74,9 @@
   if (empty($GLOBALS['page']))
 	  $GLOBALS['page'] = '';
 	
-  if(strpos($_SERVER['REQUEST_URI'], "login.php") == FALSE) {
-	SetSessionVar('s_pageLast', $_SERVER['REQUEST_URI']);
+  if((strpos($_SERVER['REQUEST_URI'], "login.php") == FALSE) &&
+	 (strpos($_SERVER['REQUEST_URI'], "callback") == FALSE)) {
+	  	SetSessionVar('s_pageLast', $_SERVER['REQUEST_URI']);
   }
   
   $dbc = new DBConnection();