[ic] Country variable lost when logging out

Kevin Walsh interchange-users@icdevgroup.org
Tue Nov 5 03:35:01 2002


Interchange user [interchange.mail@virgin.net] wrote:
> 
> If I log in and log out again, and then go to the checkout page, my shipping 
> routine is not returning anything. I have found that this is because the 
> [value country] variable that is normally passed to it is lost upon logging 
> out. It will stay this way until I hit 'recalculate', change the country, or 
> log back in, even if I go to another page and then come back to the checkout 
> page.
> 
You could modify your catalog.cfg to include this directive:

    ValuesDefault  country  GB

Where 'GB' is the default to be set (change to whatever you need).
The [value country] will be initialised with the default whenever a
new session is allocated.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/