From the JSDK spec, I understood that call
request.getSession().invalidate() followed by request.getSession(true)
should return a newly created session: here is the javadoc for
request.getSession:

"Gets the current valid session associated with this request, if create is
false or, if necessary, creates a new session for the request, if create is
true."

Note the "current *valid* session", it seems that after calling invalidate()
the old session shouldn't be considered to be returned by getSession.

  This is not the current behavior of JServ (1.0b4): invalidate() does clean
up the context, but not existing JServConnection instances. The latter
maintain a "session" field and will return it if non-null, regardless of
whether the session is valid or not.

  Suggestions appreciated

Franck Mangin



-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to