CDV ❯ TC Session breaks when request is forwarded across contexts under Tomcat
-
Bug
-
Status: Open
-
2 Major
-
Resolution:
-
Sessions
-
-
prodmgmt
-
Reporter: alex
-
December 12, 2006
-
2
-
Watchers: 3
-
March 19, 2010
-
Description
Because our Valve is installed at the Engine level, request will pass through it only once. Therefore, we will not process the forwarded request correctly. Details:
- the two contexts will share the same cookie (which would have to use “/” path)
- the contexts should cooperate in cooking the response correctly (e.g. what if diff contexts use diff session cookie id?)
- we have to be able to create a session for a requested session id in case of cross-context forwarded requests
- we have to be able to obtain/commit locks correctly, as request traverses all possible combinations of DSO-ized and non-DSO-ized contexts
Possible solution: In addition to installing a Valve, we might also have to install Tomcat Session Manager