My biggest unknown right now is, because the server handles the creation of the session, what would it take to make the server grab a user object from the database and store it in the session after the user logs in?
Can't you use an HttpSessionListener for this? It is called right after a session is created (and when it's destroyed again). I'm not
sure though whether there's enough information in the HttpSession object for you to be able to grab something from the database at the
time HttpSessionListener.sessionCreated() is called.
I do it with a filter. Easy to check request.getRemoteUser(), fetch the session and check for the user bean.
Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
