Since changing to rg=0 we make extensive use of $_SESSION and $HTTP_SESSION_VARS...