Hi Geert If i understand right i have to invoke SessionManager.eraseSession manually. So doesn't it work when user session expires?
Wow, it's great news. Thank you ! Geert Bevin wrote: > > Hi Maxim, > > if you want to get a notification when an authentication session is > purged, you can easily write your own SessionManager that just > extends your preferred one and add your own logic to the > purgeSessions method (for the DatabaseSessions class, this calls a > database query that in one go erases all those that are invalid). > This doesn't give you access to the 'anonymous' users though. > However, you'd have to force servlet sessions to be active on every > page to do so, since RIFE doesn't do that. > > Anyway, good news, I started implementing an agent that you can use > instead of the classloader, and it's going well. It might be ready by > tomorrow. Note that this will not be very comfortable to use in > development, since the classloader will be disabled then and > automatic compilation and such will not work. > > Best regards, > > Geert > > On 01 Mar 2007, at 12:22, Maxim Grigoriev wrote: > >> >> Hi Geert >> >> "session is ended" is: >> * user logs out - but it's not a problems since i use own custom >> logout >> element >> * his session expires - i don't know how to make it in rife. The >> only way i >> know is SessionListener >> >> I need list the active users and number of online registered users and >> anonim visitors too. >> >> >> Geert Bevin wrote: >>> >>> Hi Maxim, >>> >>> define "when a user session is ended"? What is the actual use-case >>> you're looking after? When a user logs out, when his session >>> expires, ...? And what do you need this for? Just list the active >>> users? >>> >>> On 28 Feb 2007, at 23:51, Maxim Grigoriev wrote: >>> >>>> >>>> Hi Geert >>>> >>>> Right now i just need solution to alert me when user session is >>>> ended. >>>> I have a page with online user statistic but not only logined users >>>> but >>>> anonim too. >>>> The right way is using SessionListener maybe you can say me another >>>> rife way >>>> ? >>>> >>>> Thank's >>>> >>>> >>>> Geert Bevin wrote: >>>>> >>>>> Hi Maxim, >>>>> >>>>> I see your problem and don't have a solution if you need the RIFE >>>>> classloader (are you using continuations or meta data merging?). >>>>> >>>>> This could be solved later by adding bytecode modification agents >>>>> support instead of using a classloader for this, but this hasn't >>>>> been >>>>> developed yet. >>>>> >>>>> Sorry :-( >>>>> >>>>> Best regards, >>>>> >>>>> Geert >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: http://www.nabble.com/Access-to-Rife- >>>> Rep-from-another-place-tf3305337.html#a9240318 >>>> Sent from the RIFE - users mailing list archive at Nabble.com. >>>> >>>> _______________________________________________ >>>> Rife-users mailing list >>>> [email protected] >>>> http://lists.uwyn.com/mailman/listinfo/rife-users >>>> >>> >>> -- >>> Geert Bevin >>> Uwyn "Use what you need" - http://uwyn.com >>> RIFE Java application framework - http://rifers.org >>> Music and words - http://gbevin.com >>> >>> >>> _______________________________________________ >>> Rife-users mailing list >>> [email protected] >>> http://lists.uwyn.com/mailman/listinfo/rife-users >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Access-to-Rife- >> Rep-from-another-place-tf3305337.html#a9247818 >> Sent from the RIFE - users mailing list archive at Nabble.com. >> >> _______________________________________________ >> Rife-users mailing list >> [email protected] >> http://lists.uwyn.com/mailman/listinfo/rife-users >> > > -- > Geert Bevin > Uwyn "Use what you need" - http://uwyn.com > RIFE Java application framework - http://rifers.org > Music and words - http://gbevin.com > > > _______________________________________________ > Rife-users mailing list > [email protected] > http://lists.uwyn.com/mailman/listinfo/rife-users > > -- View this message in context: http://www.nabble.com/Access-to-Rife-Rep-from-another-place-tf3305337.html#a9249255 Sent from the RIFE - users mailing list archive at Nabble.com. _______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
