tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Accessing (session) Manager in servlet
Date Thu, 28 Apr 2011 14:48:15 GMT
Hash: SHA1


On 4/27/2011 4:08 PM, Juriy Bura wrote:
> I need to access the Manager from the servlet (or filter) in Tomcat to load
> the custom session by custom session ID.

Wait, what?

> Answering your next question: why do I need it. There's an old bug in Flash
> that causes it to send cookies from IE and not from the current browser. So,
> if I'm in FF and I'm trying to upload the file with SWFUpload I end up with
> the wrong session and an error.

Wait, what?

> I want to add the magic parameter to POST that should override the default
> (wrong) session id, then load the custom session instead of one loaded by
> Tomcat. I can't use URL rewriting since cookies are resolved first, and when
> flash sends wrong cookie from IE, Tomcat doesn't try to load the session
> from url-rewritten address.

Have you tried disabling cookie-based session handling? That might solve
all your problems.

> I'd appreciate any other hint how to access Manager from context or a
> solution of the original problem.

Why do you need to access the "Manager"? What do you mean by "Manager"?
The class/object or the webapp?

- -chris
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message