SET products = NULL;
SET categories = NULL;
SET groups = NULL;
SELECT 'dynamic' AS component, sqlpage.run_sql('cookie.sql') AS properties;
SELECT
  'redirect' AS component,
  (SELECT CASE
    WHEN $path IN ('/products.sql', '/categories.sql', '/groups.sql', '/tags.sql')
    THEN $path ELSE '/transactions.sql'
    END
  ) AS link;
