-// Determine and set referal id
-determineReferalId();
-
-// Transfer userid from session and validate it
-if (isSessionVariableSet('userid')) {
- // Get it secured from session
- setUserId(getSession('userid'));
-
- // Is it valid?
- if (!isMember()) {
- // Then destroy the user id
- destroyUserSession();
- } // END - if
-} // END - if
-