Thanks for the swift response :) Yeah that's right. Had a feeling that was the case - can you think why the output page would be displaying the asp code? When viewing the source it seems to be encoding the output during publish.
Regards, Jonathan On Tue, Sep 13, 2011 at 4:14 PM, Jian Huang <[email protected]> wrote: > Hi Jonathan, > > First, thank you for putting in the effort in the detail of the > question. > > I think you answered your own question. > > RDExecute basically acts as preexecute, but only in non-publish mode > because it is assumed that you want to run the code dynamically on the > published web server, which is what you want. > > So, #1? > > -Jian > > On Sep 13, 10:55 am, Jonathan <[email protected]> wrote: >> Hi Guys, >> >> I am trying to add some simple asp to a web page in order to serve >> some dynamic content up to the user. >> >> At the moment I have tried the following to get the asp firing on page >> load (simplified but shows the same problem): >> >> Method 1: >> >> <!--RDExecute=ASP--> >> <%=time()%> >> >> This method outputs the time stamp when viewing within RedDot you'd >> expect due to the RDExecute tags. However during publish, the asp is >> being output on the page. Doh! >> >> Method 2: >> >> <!IoRangePreExecute><%=time()%><!/IoRangePreExecute> >> >> Again, fine within reddot. But it seems the asp is being executed >> during publish and the output is a static one and not executed on page >> load :( >> >> Does anyone know of anyway of achieving what it i am trying to do? >> >> Few notes about current setup: >> >> - asp IS selected for active templates within the project variant. >> - The file is being published as an .asp page > > -- > You received this message because you are subscribed to the Google Groups > "RedDot CMS Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/reddot-cms-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
