[ic] Losing value of scratch variables!

Frederic Steinfels interchange-users@interchange.redhat.com
Fri Jan 25 03:12:00 2002


On Fri, 25 Jan 2002, Michael Stearne wrote:

> I have some scratch variables that I set throughout the site.  All 
> variables remain intact and set as long as the user doesn't go to the 
> secure area.  Is there any way to share or set scratch variables 
> between the non-secure and secure area of the site?
> 
> You can see the example at by going to http://em.feamerch.com/ which 
> redirects to www.feamerch.com and then sets a scratch variable.  That 
> is retained when clicking around.  But if you then click "Log In" at 
> the top of the page which sends you to the secure server, the scratch 
> variable is lost (you can tell by the image in the top left changing 
> to an R).
> 
> Any ideas.... besides setting a cookie and putting CookieDomain 

CookieDomain DOES NOT WORK! All currently available webbrowsers disallow
setting a cookie on a domain different than the one you are visiting right
now. You can not set cookies for other domains!!!

Do not use different domainnames for secure and insecure domains unless
you want to apply a lot of patches to the interchange sourcecode.

> .feamerch.com in catalog.cfg... that may not work because the scratch 
> variables are used setting [seti]

Regards

Frederic