diff -x .svn -aruN 2.2rc2.src/admin/includes/application_top.php 2.2rc2a.src/admin/includes/application_top.php
--- 2.2rc2.src/admin/includes/application_top.php	2008-01-29 08:42:02.000000000 -0600
+++ 2.2rc2a.src/admin/includes/application_top.php	2008-01-30 16:04:12.000000000 -0600
@@ -1,6 +1,6 @@
 <?php
 /*
-  $Id: application_top.php 1785 2008-01-10 15:07:07Z hpdl $
+  $Id: application_top.php 1833 2008-01-30 22:03:30Z hpdl $
 
   osCommerce, Open Source E-Commerce Solutions
   http://www.oscommerce.com
@@ -28,7 +28,7 @@
   require('includes/configure.php');
 
 // Define the project version
-  define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2');
+  define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2a');
 
 // some code to solve compatibility issues
   require(DIR_WS_FUNCTIONS . 'compatibility.php');
diff -x .svn -aruN 2.2rc2.src/admin/includes/configure.php 2.2rc2a.src/admin/includes/configure.php
--- 2.2rc2.src/admin/includes/configure.php	2008-01-29 08:42:02.000000000 -0600
+++ 2.2rc2a.src/admin/includes/configure.php	2008-01-31 07:20:00.000000000 -0600
@@ -28,5 +28,5 @@
   define('DB_SERVER_PASSWORD', '[% mysql_pass %]');
   define('DB_DATABASE', '[% osc %]');
   define('USE_PCONNECT', 'false');
-  define('STORE_SESSIONS', '');
+  define('STORE_SESSIONS', 'mysql');
 ?>
diff -x .svn -aruN 2.2rc2.src/admin/includes/functions/compatibility.php 2.2rc2a.src/admin/includes/functions/compatibility.php
--- 2.2rc2.src/admin/includes/functions/compatibility.php	2008-01-29 08:42:02.000000000 -0600
+++ 2.2rc2a.src/admin/includes/functions/compatibility.php	2008-01-30 16:04:12.000000000 -0600
@@ -1,6 +1,6 @@
 <?php
 /*
-  $Id: compatibility.php 1748 2007-12-21 04:00:47Z hpdl $
+  $Id: compatibility.php 1829 2008-01-29 22:44:16Z hpdl $
 
   osCommerce, Open Source E-Commerce Solutions
   http://www.oscommerce.com
@@ -237,4 +237,33 @@
       return implode($arg_separator, $tmp);
     }
   }
+
+/*
+ * stripos() natively supported from PHP 5.0
+ * From Pear::PHP_Compat
+ */
+
+  if (!function_exists('stripos')) {
+    function stripos($haystack, $needle, $offset = null) {
+      $fix = 0;
+
+      if (!is_null($offset)) {
+        if ($offset > 0) {
+          $haystack = substr($haystack, $offset, strlen($haystack) - $offset);
+          $fix = $offset;
+        }
+      }
+
+      $segments = explode(strtolower($needle), strtolower($haystack), 2);
+
+// Check there was a match
+      if (count($segments) == 1) {
+        return false;
+      }
+
+      $position = strlen($segments[0]) + $fix;
+
+      return $position;
+    }
+  }
 ?>
diff -x .svn -aruN 2.2rc2.src/admin/includes/functions/sessions.php 2.2rc2a.src/admin/includes/functions/sessions.php
--- 2.2rc2.src/admin/includes/functions/sessions.php	2008-01-29 08:42:02.000000000 -0600
+++ 2.2rc2a.src/admin/includes/functions/sessions.php	2008-01-30 16:04:12.000000000 -0600
@@ -1,11 +1,11 @@
 <?php
 /*
-  $Id: sessions.php 1752 2007-12-21 05:59:30Z hpdl $
+  $Id: sessions.php 1830 2008-01-30 00:58:21Z hpdl $
 
   osCommerce, Open Source E-Commerce Solutions
   http://www.oscommerce.com
 
-  Copyright (c) 2007 osCommerce
+  Copyright (c) 2008 osCommerce
 
   Released under the GNU General Public License
 */
@@ -120,7 +120,7 @@
     if (PHP_VERSION < 4.3) {
       return session_is_registered($variable);
     } else {
-      return array_key_exists($variable, $_SESSION);
+      return isset($_SESSION) && array_key_exists($variable, $_SESSION);
     }
   }
 
diff -x .svn -aruN 2.2rc2.src/includes/application_top.php 2.2rc2a.src/includes/application_top.php
--- 2.2rc2.src/includes/application_top.php	2008-01-29 08:42:00.000000000 -0600
+++ 2.2rc2a.src/includes/application_top.php	2008-01-30 16:04:12.000000000 -0600
@@ -1,6 +1,6 @@
 <?php
 /*
-  $Id: application_top.php 1785 2008-01-10 15:07:07Z hpdl $
+  $Id: application_top.php 1833 2008-01-30 22:03:30Z hpdl $
 
   osCommerce, Open Source E-Commerce Solutions
   http://www.oscommerce.com
@@ -34,7 +34,7 @@
   }
 
 // define the project version
-  define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2');
+  define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2a');
 
 // some code to solve compatibility issues
   require(DIR_WS_FUNCTIONS . 'compatibility.php');
diff -x .svn -aruN 2.2rc2.src/includes/configure.php 2.2rc2a.src/includes/configure.php
--- 2.2rc2.src/includes/configure.php	2008-01-29 08:42:00.000000000 -0600
+++ 2.2rc2a.src/includes/configure.php	2008-01-31 07:10:40.000000000 -0600
@@ -1,6 +1,6 @@
 <?php
   define('HTTP_SERVER', 'http://[% installed_on_domain %]');
-  define('HTTPS_SERVER', 'https://[% installed_on_domain %]');
+  define('HTTPS_SERVER', 'http://[% installed_on_domain %]');
   define('ENABLE_SSL', false);
   define('HTTP_COOKIE_DOMAIN', '[% installed_on_domain %]');
   define('HTTPS_COOKIE_DOMAIN', '[% installed_on_domain %]');
@@ -27,5 +27,5 @@
   define('DB_SERVER_PASSWORD', '[% mysql_pass %]');
   define('DB_DATABASE', '[% osc %]');
   define('USE_PCONNECT', 'false');
-  define('STORE_SESSIONS', '');
+  define('STORE_SESSIONS', 'mysql');
 ?>
diff -x .svn -aruN 2.2rc2.src/includes/functions/sessions.php 2.2rc2a.src/includes/functions/sessions.php
--- 2.2rc2.src/includes/functions/sessions.php	2008-01-29 08:42:00.000000000 -0600
+++ 2.2rc2a.src/includes/functions/sessions.php	2008-01-30 16:04:12.000000000 -0600
@@ -1,11 +1,11 @@
 <?php
 /*
-  $Id: sessions.php 1752 2007-12-21 05:59:30Z hpdl $
+  $Id: sessions.php 1830 2008-01-30 00:58:21Z hpdl $
 
   osCommerce, Open Source E-Commerce Solutions
   http://www.oscommerce.com
 
-  Copyright (c) 2007 osCommerce
+  Copyright (c) 2008 osCommerce
 
   Released under the GNU General Public License
 */
@@ -124,7 +124,7 @@
     if (PHP_VERSION < 4.3) {
       return session_is_registered($variable);
     } else {
-      return array_key_exists($variable, $_SESSION);
+      return isset($_SESSION) && array_key_exists($variable, $_SESSION);
     }
   }
 
