Hi,

Byju P.Nair wrote:
> Tomcat is creating 2 different sessions when another browser 
> window is opened from a main window.

Try to send the Request via the target-Attribute (A or FORM) to the new 
Window, you can open a customized window with onclick.

Example:

<a onClick="getArticleWindow();"
    href="blabla.jsp"
    target="articleWindow">
   link
</a>

var articleWindow = null;
function getArticleWindow()
{
     if (!articleWindow || articleWindow.closed)
     {
         articleWindow = window.open("/void.html",
                                     "articleWindow",
 
"status=0,toolbar=yes,scrollbars=yes,resizable=yes,width=640,height=480");
     }
     if (articleWindow) articleWindow.focus();
}

Marc

Reply via email to