} // END - if
// Is a session id there?
-if (session_id() == '') {
+if (!isSessionValid()) {
// Start the session
- $GLOBALS['valid_session'] = session_start();
+ $GLOBALS['valid_session'] = session_start();
+ $GLOBALS['isSessionValid'] = TRUE;
} // END - if
// Load language file(s)