[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-general
Subject:    Re[2]: [SMARTY] Page don't renew (WITHOUT caching!) Help, please...
From:       Vitaly <softdeveloping () nm ! ru>
Date:       2004-11-09 17:42:41
Message-ID: 762106639.20041109194241 () nm ! ru
[Download RAW message or body]

Hello val,

Thank you for your answer!

Tuesday, November 9, 2004, 6:58:48 PM, you wrote:

v> Hello Vitaly,

v> I believe this problem arise from register_globals not smarty caching.

v> do you use $country or $_GET['country'] in your script?

I use as

$country=$HTTP_GET_VARS['country'];

It is real string from the page...

V>> Hello, all!

V>> I wrote the site engine (Smarty+PHP+MySQL).

V>> url for each page similar as:
V>>         country_info.php?country=austria
V>> - here 'austria' is a needed country...

V>> This is work correctly on my local web-server. Ok!

V>> But when I uploaded this to host, I have a trouble.
V>> country_info.php?country=<country> give me a first asked country.

V>> For example:
V>> country_info.php?country=austria - good, I see info about Austria
V>> country_info.php?country=andorra - shit! I see Austria again :(

V>> Where can be a problem?

V>> I use
$smarty->>>caching = false;

V>> And I use
V>> header("Cache-Control: no-cache, must-revalidate");   too...

V>> Nothing to cache, I guess!

V>> -- 
V>> Best regards,
V>>  Vitaly                          mailto:softdeveloping@nm.ru







-- 
Best regards,
 Vitaly                            mailto:softdeveloping@nm.ru

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic