Question
Delay execution of CFML
Hi there
I manage a site that "pre-generates" pages, so that the execution time is quicker and the demands on the server are reduced when users come to the site.
The problem is this. I have a template that contains CFML that looks to see the browser that the user is using. When the pages are "pregenerated" using say IE and the user visits using Firefox, the pages to not render properly, because the pregeneration process inserts a reference to the stylesheet for IE, and not Firefox (which makes sense).
I would simply like to "include" the code that determines which stylesheet should be used in the pregenerated page so that it is executed when the user visists the site, rather than the pregenerated page executing that code when the page is created.
Is anyone able to assist?
Thanks for your help in advance.
Goofy
I manage a site that "pre-generates" pages, so that the execution time is quicker and the demands on the server are reduced when users come to the site.
The problem is this. I have a template that contains CFML that looks to see the browser that the user is using. When the pages are "pregenerated" using say IE and the user visits using Firefox, the pages to not render properly, because the pregeneration process inserts a reference to the stylesheet for IE, and not Firefox (which makes sense).
I would simply like to "include" the code that determines which stylesheet should be used in the pregenerated page so that it is executed when the user visists the site, rather than the pregenerated page executing that code when the page is created.
Is anyone able to assist?
Thanks for your help in advance.
Goofy
