 	if  (structKeyExists(url, "template") and StructKeyExists(drivers, url.template)) {
 		driver=drivers[url.template];
 		template=url.template;
+		session.debug.template = url.template;
+	} else if (len(session.debug.template)){
+		driver=drivers[session.debug.template];
+		template=session.debug.template;		
 	} else if ( IsEmpty(entries.type) || !StructKeyExists(drivers, entries.type) ) {
 		driver=drivers["lucee-modern"];
 		template= "lucee-modern";

						<input type="hidden" name="#u#" value="#encodeForHtml(url[u])#">
					</cfif>
				</cfloop>				
				<input type="submit">
				</form>				
			</td>
		</tr>
	</cfif>
	<tr>
		<td>
			<!--- <cfset log = logs[1]> --->

<script type="text/javascript">disableBlockUI=true;</script>
<cfparam name="session.debug.template" default="">
<cfscript>
	//  load available drivers (i.e debug templates) 
	driverNames=structnew("linked");
