I agree but I cannot put the user's information in HTTP session as my requirement is to store the jetspeed user logged in information in a common shared database such that another php+perl based application running in a different apache server can know about the user login by seeing the new entry in the database and will use this information for rendering a page in php based application.
Thanks, Srini. ronatartifact wrote: > > Have you considered putting the data in the HTTP Session data structure > that is held while the user is logged in. > > This data is only available to portlets serving that user but you can > store whatever you want there for the duration of the session. > > It is faster and easier to access since it does not require database > access. > > You might get better advice if you described a bit more about why you > want to store transitory info. > > > Ron > > > On 18/11/2010 10:54 AM, SriniPitta wrote: >> ====================== >> Can you not use the logging done by Jetspeed already? >> ======================== >> Thanks for your reply. I see that "USER_ACTIVITY" table has the entry for >> each login-success and login-failure. However, I would like to delete the >> user logged in information from the table upon user logging out. I do not >> want to mess up or delete the entries from Jetspeed's database as iam >> pretty >> sure that my requirement will be extended. Thanks for your time. >> >> Regards, >> Srini. >> >> >> ronatartifact wrote: >>> On 17/11/2010 6:06 PM, SriniPitta wrote: >>>> Hi, >>>> >>>> I would like to insert a new entry in database capturing the session >>>> and >>>> user details upon each time the user login into portal and logout the >>>> portal. >>>> >>>> I have written a listener class and extended HttpSessionListener and >>>> overrided sessionCreated() and sessionDestroyed() methods and added >>>> below >>>> entry in my web.xml. But it does not invoke my listener during user >>>> login >>>> or >>>> logout. Can you please let me know the correct way of implementing. >>>> >>>> <listener> >>>> <listener-class>com.mycompany.MyHttpSessionListener</listener-class> >>>> </listener> >>>> >>>> Thanks for your time. >>>> >>>> Regards, >>>> Srini. >>> Can you not use the logging done by Jetspeed already? >>> >>> >>> --------------------------------------------------------------------- >>> 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] > > > -- View this message in context: http://old.nabble.com/session-listener-not-working-tp30239157p30249470.html Sent from the Jetspeed - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
