It'd be easy to create this as an addon project.  Wicketstuff?

--
Jeremy Thomerson
http://www.wickettraining.com




On Thu, Aug 13, 2009 at 10:23 AM, Jing Ge (Besitec IT
DEHAM)<[email protected]> wrote:
> Hello,
>
> This is also a very interesting question that I wanna ask.
>
> I've googled and found a single Nabble Mail site about it:
> http://www.nabble.com/Get-all-sessions-users-for-a-web-application-td213
> 67229.html
>
> We can only get some session data from the RequestLogger, but not the
> session itself. So if we wanna manipulate all sessions, using the
> RequestLogger ist not the correct way.....
>
> Implementing the HttpSessionListener should be work, but the same code
> will repeated by all projects, that wanna manipulate the sessions....
>
> any common feature in wicket? Maybe 1.4.x?
>
> Regards!
> Jing
>
> -----Original Message-----
> From: uud ashr [mailto:[email protected]]
> Sent: Dienstag, 11. August 2009 13:25
> To: [email protected]
> Subject: Re: Get all sessions and manipulate them
>
> I don't know. Asked many times but maybe not so popular. I can't find it
> easily.
> Do I have to save it
> manually all available session by creating class implementing ISession
> store?
> Or there is another way?
>
> Regards,
> uudashr
>
> On Tue, Aug 11, 2009 at 11:36 AM, Jeremy Thomerson <
> [email protected]> wrote:
>
>> This question has been asked and answered many times on this mailing
>> list.  Please try searching the archives on Nabble.  Then let us know
>> if you have questions about one of those implementations.
>>
>> --
>> Jeremy Thomerson
>> http://www.wickettraining.com
>>
>>
>>
>>
>> On Mon, Aug 10, 2009 at 10:59 PM, uud ashr<[email protected]> wrote:
>> > Hi all,
>> > How to manipulate all existing sessions on wicket.
>> > I can get the SessionData trough
> getRequestLogger().getLiveSessions(),
>> but I
>> > can't manipulate the SessionData.
>> > For examples, I have session class:
>> >
>> > public class MyAppSession extends WebSession {
>> >   ...
>> >   public void setLoggedUser(User user) {
>> >   }
>> >
>> >   public User getLoggedUser() {
>> >
>> >   }
>> > }
>> >
>> >
>> > I want to kick all logged users because I want to do something like
>> > maintenance thing by using theSession.setLoggedUser(null) to all
>> available
>> > sessions.
>> > Anyone knows?
>> >
>> > Regards,
>> > uudashr
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to