Assign all configuration to session if using as_url