Tuesday, April 23, 2002 10:04 PM
Before setting the session from both A & B applications at the first time, make
sure that you are invalidating the current Session variables.
Before setting the session do response.getSession(true) for the first time to create a new
session for the request.
If you had put response.getSession(false) at the first time, this will return the old session
which was set by application A which would cause you a Class cast exception.