|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Get all active session objectsHi all,
how do I get all active session objects. I need the real session object cause i need to call a method on it. I already searched the mailing list but without success. Thanks in advance. Chris |
|
|
Re: Get all active session objectsCustomSession{
static List sessions; public CustomSession(){ sessions.add(this); } } On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo, Christian < Christian.Giambalvo@...> wrote: > Hi all, > > > > how do I get all active session objects. > > I need the real session object cause i need to call a method on it. > > I already searched the mailing list but without success. > > > > Thanks in advance. > > > > Chris > > -- Pedro Henrique Oliveira dos Santos |
|
|
Re: Get all active session objectsAnd we have a memory leak...
See HttpSessionListener instead... Martijn On Fri, Nov 6, 2009 at 10:55 AM, Pedro Santos <pedrosans@...> wrote: > CustomSession{ > static List sessions; > public CustomSession(){ > sessions.add(this); > } > } > > On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo, Christian < > Christian.Giambalvo@...> wrote: > >> Hi all, >> >> >> >> how do I get all active session objects. >> >> I need the real session object cause i need to call a method on it. >> >> I already searched the mailing list but without success. >> >> >> >> Thanks in advance. >> >> >> >> Chris >> >> > > > -- > Pedro Henrique Oliveira dos Santos > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
AW: Get all active session objectsAnd what about newSession and sessionDestroyed in AuthenticatedWebApplication?
Isn't this equal to an Implementation of HttpSessionListener. -----Ursprüngliche Nachricht----- Von: Martijn Dashorst [mailto:martijn.dashorst@...] Gesendet: Freitag, 6. November 2009 10:59 An: users@... Betreff: Re: Get all active session objects And we have a memory leak... See HttpSessionListener instead... Martijn On Fri, Nov 6, 2009 at 10:55 AM, Pedro Santos <pedrosans@...> wrote: > CustomSession{ > static List sessions; > public CustomSession(){ > sessions.add(this); > } > } > > On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo, Christian < > Christian.Giambalvo@...> wrote: > >> Hi all, >> >> >> >> how do I get all active session objects. >> >> I need the real session object cause i need to call a method on it. >> >> I already searched the mailing list but without success. >> >> >> >> Thanks in advance. >> >> >> >> Chris >> >> > > > -- > Pedro Henrique Oliveira dos Santos > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Get all active session objectsYep, we need something to take those obj out from there.
On Fri, Nov 6, 2009 at 7:58 AM, Martijn Dashorst <martijn.dashorst@... > wrote: > And we have a memory leak... > > See HttpSessionListener instead... > > Martijn > > On Fri, Nov 6, 2009 at 10:55 AM, Pedro Santos <pedrosans@...> wrote: > > CustomSession{ > > static List sessions; > > public CustomSession(){ > > sessions.add(this); > > } > > } > > > > On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo, Christian < > > Christian.Giambalvo@...> wrote: > > > >> Hi all, > >> > >> > >> > >> how do I get all active session objects. > >> > >> I need the real session object cause i need to call a method on it. > >> > >> I already searched the mailing list but without success. > >> > >> > >> > >> Thanks in advance. > >> > >> > >> > >> Chris > >> > >> > > > > > > -- > > Pedro Henrique Oliveira dos Santos > > > > > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > Apache Wicket 1.4 increases type safety for web applications > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- Pedro Henrique Oliveira dos Santos |
|
|
SV: Get all active session objects> Yep, we need something to take those obj out from there.
Maybe a collection of weak references? - Tor Iver --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |