Difference between org.apacha.catalina.Session and javax.servlet.http.HttpSessio 2007-11-06 - By B?rbara Vieira
Back Hi there!
This question is about Tomcat?s Architecture and CoyoteConnectors.
I would like to know the difference between Session(org.apacha.catalina.Session) and HttSession(javax.servlet.http.HttpSession) objects.
In Request(org.apache.catalina.connector.Request) object I get HttpSession ? request.getSession() and Session ? request.getSessionInternal() objects, but I don?t know the difference between this objects on Tomcat?s Architecture. I suppose that this objects represents different sessions in my Web Application, but this doesn?t make sense, because each Web Application just have one session scope.
I know that HttpSession is available from Session object ? session.getSession().
Another question about it is that, when I invalidate the HttpSession, am I invalidating Session object too?
Thanks for help me,
Regards from Braga, Portugal
B?rbara Vieira
|
|