tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: [OFFTOPIC] Removing attribute from all HttpSessions
Date Thu, 19 Aug 2004 11:32:49 GMT
Thanks Tim. Done that ... any reason why sessionCreated is always called twice?

2004-08-19 12:31:02,920 - DEBUG (com.qas.newmedia.intranet.iq.IQSessionListener:31) - new
session: 0E3C9F21B145FF21903D8D35E540217F
2004-08-19 12:31:02,920 - DEBUG (com.qas.newmedia.intranet.iq.IQSessionListener:31) - new
session: 0E3C9F21B145FF21903D8D35E540217F

Also, sessionDestroyed I am guessing is not actually called when a user closes their browser
but on session timeout after inactivity correct?

Allistair Crossley

> -----Original Message-----
> From: Tim Funk [mailto:funkman@joedog.org]
> Sent: 19 August 2004 11:48
> To: Tomcat Users List
> Subject: Re: [OFFTOPIC] Removing attribute from all HttpSessions
> 
> 
> Look at the SessionListeners to register all the sessions 
> that match your 
> criteria into a map. Then whatever is listening on your 
> invalidation strategy 
> can update the map. (Actually - the sessions in the map)
> 
> -Tim
> 
> Allistair Crossley wrote:
> 
> > Hey,
> > 
> > I am putting a page caching stategy into place per user 
> session. However, there are times when I need to refresh all 
> the caches for all users. For example, let's say 5 users have 
> a cached version of page 5. An external event causes page 5 
> to invalidate. I need an effective strategy to flush all 
> sessions with page 5 cached.
> >  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


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


Mime
View raw message