Thanks for the answer, but i want to do this right after user logins. I guess i am going to try something according to Matt's below suggestion.
--You could try using an HttpSessionListener. Take a look at UserCounterListener for an example.-- Bryan Noll-2 wrote: > > You should be able to access the HttpSession by using the 'getSession()' > method on the HttpServletRequest. An instance of HttpServletRequest is > passed in method implemented in one of your controller classes. > > chekirge wrote: >> I am using Spring MVC.. >> >> >> Bryan Noll-2 wrote: >> >>> It will depend on which web framework you're using. They each have >>> their own way of calling down into that api. Which one are you writing >>> your app with? >>> >>> chekirge wrote: >>> >>>> When a user login, I want to put an object to his session. Could not >>>> find >>>> where to write the code. I lost a lot of time on this. Any help? sorry >>>> if >>>> the answer is so trivial. >>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/simple-login-question-tf2920608s2369.html#a8169215 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
