You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "Giambalvo, Christian" <Ch...@excelsisnet.com> on 2009/11/06 10:40:26 UTC
Get all active session objects
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
AW: Get all active session objects
Posted by "Giambalvo, Christian" <Ch...@excelsisnet.com>.
And 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@gmail.com]
Gesendet: Freitag, 6. November 2009 10:59
An: users@wicket.apache.org
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 <pe...@gmail.com> wrote:
> CustomSession{
> static List sessions;
> public CustomSession(){
> sessions.add(this);
> }
> }
>
> On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo, Christian <
> Christian.Giambalvo@excelsisnet.com> 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@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
SV: Get all active session objects
Posted by Wilhelmsen Tor Iver <To...@arrive.no>.
> 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@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Get all active session objects
Posted by Pedro Santos <pe...@gmail.com>.
Yep, we need something to take those obj out from there.
On Fri, Nov 6, 2009 at 7:58 AM, Martijn Dashorst <martijn.dashorst@gmail.com
> wrote:
> And we have a memory leak...
>
> See HttpSessionListener instead...
>
> Martijn
>
> On Fri, Nov 6, 2009 at 10:55 AM, Pedro Santos <pe...@gmail.com> wrote:
> > CustomSession{
> > static List sessions;
> > public CustomSession(){
> > sessions.add(this);
> > }
> > }
> >
> > On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo, Christian <
> > Christian.Giambalvo@excelsisnet.com> 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@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Pedro Henrique Oliveira dos Santos
Re: Get all active session objects
Posted by Martijn Dashorst <ma...@gmail.com>.
And we have a memory leak...
See HttpSessionListener instead...
Martijn
On Fri, Nov 6, 2009 at 10:55 AM, Pedro Santos <pe...@gmail.com> wrote:
> CustomSession{
> static List sessions;
> public CustomSession(){
> sessions.add(this);
> }
> }
>
> On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo, Christian <
> Christian.Giambalvo@excelsisnet.com> 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@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Get all active session objects
Posted by Pedro Santos <pe...@gmail.com>.
CustomSession{
static List sessions;
public CustomSession(){
sessions.add(this);
}
}
On Fri, Nov 6, 2009 at 7:40 AM, Giambalvo, Christian <
Christian.Giambalvo@excelsisnet.com> 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