in reply to Duplicate Randoms with SSI

I cannot think of an elegant solution to your question, but have you considered dropping the SSI and just going with a full Perl solution? You can add a handler so that the server will know to call the perl interpreter on your .html files, so you don't have to change the urls or anything (There are other ways to get around this as well). It seems easier to have one script do everything rather than putting together some method of saving state information between SSI calls.

Replies are listed 'Best First'.
Re^2: Duplicate Randoms with SSI
by gwhite (Friar) on Oct 26, 2007 at 15:17 UTC

    I have considered it, but part of the content is legacy Perl applications, a couple of purchased PHP apps, and is your typical 10 year old site a little of this, some of that. It is far from elegant and the number effort gnomes required to convert the entire site to Perl is way beyond the number I have.

    g_White