[ic] read-cookie and set-cookie on same page

Kevin Walsh interchange-users@interchange.redhat.com
Mon Apr 1 21:06:01 2002


> 
> Is the bug you refer to in IE6 only present when you specify the path,
> or the domain, or both?  We are currently testing out a page that is
> underperforming the baseline dramatically, with almost no visual change
> to the user.  The only changes are that we used to log them in
> automatically with their email address as their username (the new way of
> using an incremental username should perform better, since it can't
> contain illegal characters), and we are setting a cookie as follows:
> 
> [set-cookie name=ic_user
>           domain=".domain.com"
>           value="id_rw=[value id_rw]&email=[value email]"
>           expire="Mon, 01-Jan-2035 00:00:01 GMT"]
> 
> We have been using the ".domain.com" format for a while now, so that
> different parts of our web site can access it, through a rotating DNS
> off of the same domain.  Could doing this be causing the page to hang in
> some browsers?
> 
> Note:  it's just the pages leading *up* to the cart that are on a
> rotating DNS.  The cart is on www.domain.com ;-)
> 
I have no idea what bugs are present in IE.  I code for the lowest
common denominator and try to not use features that don't work
equally on all browsers.  I never set cookies except to store
session IDs, so I may be the wrong person to ask about all this.

Note that Interchange will encode "illegal" characters in cookie
values, so you should have no concerns about login name validity.
Also note that you can set the CookieDomain directive in your
catalog.cfg file to implement ".domain.com" domain cookies.

I don't know how you have set up your round-robin DNS entries,
or how you have set up Interchange to share the session IDs,
so I can't comment on why it may hang.  In my opinion, round-robin
DNS is useless.  If one machine (out of three) goes down then
every third request will fail.

(Context lost due to lazy quoting - again)

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