You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ferran Parra <fe...@mubimedia.com> on 2003/06/18 10:59:30 UTC

Many sessions in struts 1.1 with tiles

Hi all,
    I have a webapplication with struts 1.1 - tiles-validator-OJB and tomcat
4.1.18 connect to apache JK.1.2. when start tomcat-apache and navigate in
the application the number sessions increase to 130 (1XX) i can view this in
the tomcat-manager aplication. why increase the number sessions to 1XX ??
any idea??

tranks in advanced!
a10

-------------------------------------------------------
Ferran Parra
ferran_p@mubimedia.com
http://www.mubimedia.com
MUBIMEDIA S.L.
C/ Mallorca, 275, 1r 2a 08008 BCN
Tel: 93 215 21 91 / Fax: 93 215 41 21
-------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Many sessions in struts 1.1 with tiles

Posted by Gemes Tibor <ti...@i-trade.hu>.
Ferran Parra írta:

>Hi all,
>    I have a webapplication with struts 1.1 - tiles-validator-OJB and tomcat
>4.1.18 connect to apache JK.1.2. when start tomcat-apache and navigate in
>the application the number sessions increase to 130 (1XX) i can view this in
>the tomcat-manager aplication. why increase the number sessions to 1XX ??
>any idea??
>  
>
I had a similar case before however not so huge amount of sessions. Here 
is what caused this
for me (might help you or not):

Somehow my browser refused accepting cookies (a frameset which contained 
a frame in
which the app was loaded, and a sec.constraint in the browser did not 
alllowd a cookie
which did not origin from the same host as the  top frameset, blabla  
whatever).
I did not use the rewrite & link tags  since I didn't understand what 
they are for.
Every time I clicked a link, the container could not  find out my 
sessionid, so created a
new one for me. Using tiles might mean a new session  for each tile. I 
switched to rewrite
and link tags, the so the app worked right w/o cookies.

Tib




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org