DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33222>.
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=33222





------- Additional Comments From [EMAIL PROTECTED]  2005-01-25 23:35 -------
Patrick Holthuizen <[EMAIL PROTECTED]> wrote:
> Why is it valid? The API specs state that it should return true if the 
> request holds an id for a valid session and I think it should after 
> creating one.

No, since a session has been *created* in your case, the request does not hold
the id of a valid session. Instead, the newly created session will be reflected
in the response.

Notice that the word "requested" in the method name refers to a session
*requested and specified by the client*.

For example, HttpServletRequest.getRequestedSessionId() has this:

     * If the client did not specify a session ID, this method returns
     * <code>null</code>.

It may be worth adding a similar comment to isRequestedSessionIdValid(), as 
follows:

     * If the client did not specify a session ID, this method returns
     * <code>false</code>.

-- 
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]

Reply via email to