How to add a user to the friend list?
[SMARTY] caching issue
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Ñîîáùåñòâà
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > PHP web-programming > [SMARTY] caching issue 24 March 2006 05:24:13

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Ìîäåðàòîð:

[SMARTY] caching issue

Danny Younes 17 June 2002 03:17:03
 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_li­fetime = 86400; /* how long to store pages before they expire */
if(!$MDIL_tpl->is_c­ached("index.dwt", $cache_num))
{


}

thanks in advance
Danny Younes

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
respect your talk pals, avoid using obscene language, typing entire messages in CAPS, posting buy/sell ads or violating netiquette or the RF Criminal Code..


QAIX > PHP web-programming > [SMARTY] caching issue 24 March 2006 05:24:13

see also:
Forums/email list for Dreamweaver &…
OT: ActivEdit and DHTML issue
CF7 won't run under IIS, wont install…
pass tests:
see also:
The Apache HTTP Server can be…
Hello!!!
How to convert video to Zune MP4…

  Copyright © 2001—2009 QAIX
Idea: Miñhael Monashev
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .