-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Juriy,
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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk25fi8ACgkQ9CaO5/Lv0PCcJgCgrtfqO9SsxqgFhnx1GuHo2re7 PaYAoLUlUF4wFApmvv3XfRgq+BEaQ/Mi =2Ivn -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org