-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Allen,

Williams, Allen wrote:
> 2. What is the difference in the servlet invocation between a regular
> URL invocation & an XMLHttpInvocation?

I'll be there isn't a difference, actually.

I had a problem in the past where something went wrong and I ended up
with two JSESSIONID cookies in my browser with the same host and path,
but two different values. That was enough to confuse things such that
some requests worked (those that went directly to Tomcat) and others
didn't (I think it was some that had been routed through Cocoon maybe?).

I had to delete both cookies and then everything got straightened out.
This was further complicated by the fact that Firefox refuses to accept
cookies for a particular site after you delete them unless you then
remove the "never allow" rule it sets.

Anyhow, I thought this might help: try deleting the cookies from your
browser and starting fresh. It might help.

> 4.  WHY are all the session manipulation APIs deprecated, and, at least
> according to Sun's web site, not being replaced?  It seems unusual to be
> removing control from the programmer/software engineer instead of trying
> to give him more control over his environment.  With those APIs I could
> have fixed this (well, kludged it up, anyway).

That's right: you could have kludged it up. In fact, it turns out that
the only use for those deprecated portions of the API are for kludgey
messes. You can achieve most legitimate uses of those deprecated methods
by using a SessionListener or whatever and then maintaining your own
registry of sessions.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGUiKg9CaO5/Lv0PARAis4AJ9YMlDAtYO/xYA1w5+PYujrfOprKwCfcE0A
Bns3j0VcZZNWAAscmdX/KRU=
=6ME3
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to