[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re. Server Side Include Problem - RaQ3
- Subject: [cobalt-users] Re. Server Side Include Problem - RaQ3
- From: "House of Jupiter" <montyharris@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon Aug 27 09:17:05 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I wanted to thank all of those who helped me with the scheduled server side
includes, and give a bit of feedback regarding the solution I found to my
problem. I have found the following works perfectly, although of course it
will require 31 queries for each page and not just 3. I must admit I am a
little worried this is going to kill my RaQ3 CPU, as I will have 12 pages
each with 31 queries on.
<!--#if expr="${DATE_LOCAL} = /27-Aug/" -->
<!--#include virtual="27aq.txt" -->
<!--#else -->
<!--#if expr="${DATE_LOCAL} = /28-Aug/" -->
<!--#include virtual="28aq.txt" -->
<!--#else -->
<!--#if expr="${DATE_LOCAL} = /29-Aug/" -->
<!--#include virtual="29aq.txt" -->
<!--#else -->
<B>no data for this date</B><BR>
<!--#endif -->
I suppose if I wanted to delve a little deeper I could probably set a
variable and make it todays date, then query if variable = 27-Aug. Would
that make only 1 date_local query per page instead of 31?