caching issue

From: Date: Mon, 17 Jun 2002 00:17:03 +0000
Subject: caching issue
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4885@lists.php.net to get a copy of this message
I have a problem with caching pages in my dynamic site. I can't seem to navigate from the first page. What is happening is that I fetch other templates that are small templates that create my page and once that is done I call the index template which I display. Now when I click on another link I do a cache check to see if the page is cached but what is happening is it checks the first index page, and that is cached so it just shows that page only and I can't navigate to any other page. I have set my $cache_num variable in my config file and when I print the contents of this variable, it is always the same. here is my code $MDIL_tpl->caching = true; /* caching turned true=on and false=off */ $MDIL_tpl->cache_lifetime = 86400; /* how long to store pages before they expire */ if(!$MDIL_tpl->is_cached("index.dwt", $cache_num)) { } thanks in advance Danny Younes

« previous php.smarty.general (#4885) next »