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

Orko interchange-users@interchange.redhat.com
Mon Apr 1 22:33:01 2002


On Mon, 2002-04-01 at 18:04, Kevin Walsh wrote:
> > 
> > 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.

Just trying to accomplish cross compatibility with broken browsers is
sometimes very mind-numbing ;-)  Ah well, it is necessary if you want to
avoid percentage losses.  I also share the "common denominator"
philosophy
 
> Note that Interchange will encode "illegal" characters in cookie
> values, so you should have no concerns about login name validity.

Noticed that.  It seems to handle it very well.

> Also note that you can set the CookieDomain directive in your
> catalog.cfg file to implement ".domain.com" domain cookies.

Ahh.  I had forgotten about that.  I remember reading about that at some
point.

> 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.

Better than 3 out of 3 ;-)

But No.  I don't have IC set up on the rrDNS, so I don't have to worry
about cross domain session ID's.  Just the pages leading up to it (the
front door, so to speak, the "pitch" outside the cart webspace).  If we
lose 1/3rd of our total traffic to the cart, we can recover, if we catch
it quick enough.  100% is catastrophic to say the least.  Actually, we
have 5 servers on our rrDNS.

Thanks again for the .cfg file refresher.

-- orko

> (Context lost due to lazy quoting - again)
> 
> -- 
>    _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
>   _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
>  _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
> _/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
> 
> 
> 
> 
> 
> 
> 
-- 
Office: (360)697-1603
  Cell: (360)271-0796