dont send any more emails ........or i have to sen a bug to ur site

[EMAIL PROTECTED] wrote:DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34107

Summary: session already invalidated before valueUnbound() called
Product: Tomcat 5
Version: 5.0.28
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P3
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


This may not be a bug, as it appears the servlet 2.4 spec is not precise on this
matter.

The issue is that in previous versions of Tomcat and Weblogic an implementation
of javax.servlet.http.HttpSessionBindingListener could successfully make this 
call:

public void valueUnbound(HttpSessionBindingEvent event)
{
long lastAccessedTime = event.getSession().getLastAccessedTime();

In Tomcat 5, the Session is already invalidated by the time the container calls
'valueUnbound', so the call to getLastAccessedTime() fails.


Sections 7.4-7.6 of the 2.4 servlet specification do not precisely specify
whether or not the session is valid at the time the container calls 
valueUnbound().

This code has functioned fine in previous versions of Catalina/Tomcat as well as
weblogic. 

I have a code workaround for this, but wanted to determine if this was an issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to