371168 Update ClientCrossContextSessionTest

This commit is contained in:
Jan Bartel 2012-03-01 17:43:38 +11:00
parent 97c37f68ba
commit 5c0c8c7e73
1 changed files with 4 additions and 3 deletions

View File

@ -131,10 +131,11 @@ public abstract class AbstractClientCrossContextSessionTest
{ {
HttpSession session = request.getSession(false); HttpSession session = request.getSession(false);
if (session == null) if (session == null)
{
session = request.getSession(true); session = request.getSession(true);
sessionId = session.getId(); sessionId = session.getId();
}
// Add something to the session // Add something to the session
session.setAttribute("B", "B"); session.setAttribute("B", "B");