| While
working on zDE generated applications, you may
have come across obscure, non-reproducible
situations where the zeroCode application suddenly
logs you out even though there isn't a timeout.
This typically happened while using the IE
browser. This was because IE could not distinguish
between multiple web servers on the same machine
running on different port numbers. In other words,
if one web server on a machine sets a cookie to a
certain value, IE submits the same cookie to all
web servers on that machine. The browser always
used to get confused between the JSESSIONID
cookies sent by different sites running on
different ports on the same server. The irritating
result is that you would lose your session when
you switch from one site to another.
So, if you used zDE and a built site on the
same box, this used to cause problems. When you
log out of zDE and log back in, zDE would give you
a new session id in the cookie, and IE would
submit the modified session id to the other sites
on the same server. Since this wasn't valid on the
generated site server, you would get logged
out.
Neither Netscape nor Mozilla suffer this problem
because they both identify cookies with the “server-
port-number” pair. |