Re: Persistent session after browser restart, cookie expiration

2006-09-10 Thread Alexander Lazic
Hi, On Son 10.09.2006 14:27, Heiko Klein wrote: The default tomcat cookies for session-management seem to be deleted with browser-restart. How can I keep a session open even if the user restarts his computer? Or in other words, how can I set the 'Expires' field of the session-cookie send to

Repost (was: Re: Q: about status gathering per Request/Connector)

2006-09-05 Thread Alexander Lazic
Hi, please can anybody say if I'am on the right way. Thanks Alex On Mon 21.08.2006 19:04, Alexander Lazic wrote: Hi, a colleague have add a new thread in the Ajp13Connector Ajp13Processor to gather some stats: (Runtime.getRuntime().freeMemory() 10) + VMfree + (Runtime.getRuntime

Re: Valve Connectors Request-Objects

2006-08-21 Thread Alexander Lazic
On Son 20.08.2006 18:50, Martin Gainty wrote: I believe you will have to acquire the ServletInfo from the (Action)servlet itself as in the example.. ServletInfo info = cyR.getRequestProcessor().servlet.getServletInfo(); Thanks for info but i'am not sure if i understand you right?! The

Re: Valve Connectors Request-Objects

2006-08-21 Thread Alexander Lazic
Hi, On Mon 21.08.2006 11:36, Martin Gainty wrote: If you know the name of the attribute you could use the getAttribute method [snipp] Ok, thanks. I think i will go another way ;-) For this i will start a new thread on this list, i hope that this is the right List ;-) Regards Alex

Q: about status gathering per Request/Connector

2006-08-21 Thread Alexander Lazic
Hi, a colleague have add a new thread in the Ajp13Connector Ajp13Processor to gather some stats: ---Ajp13Connector (Runtime.getRuntime().freeMemory() 10) + VMfree + (Runtime.getRuntime().totalMemory() 10) + VMalloc + threadGroup.activeCount() + curthreads + processors.size() +

Re: Valve Connectors Request-Objects

2006-08-20 Thread Alexander Lazic
On Sam 19.08.2006 21:40, Alexander Lazic wrote: I have seen a in 4.1.32 connectors/coyote/src/java/org/apache/coyote/RequestInfo.java which have the infos but when i try to use this i get this error: With help from Mark Thomas i have know a working CoyoteConnector, thanks you Mark

Valve Connectors Request-Objects

2006-08-19 Thread Alexander Lazic
Hi, today i have try to get some Infos from tomcat 4.1.x similar like --- 5.5.x =container/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusTransformer.java . . . mBeanServer.getAttribute(grpName, requestCount)); . . --- My main target is as follow: currentUsersSessions